09-11-2013 01:06 AM
關於GetPanelHandleFromTabPage想要請教各位前輩們
如果我在PANEL 底下產生一個TAB物件(TAB1)
然後又在此TAB物件的第二個page產生另一個TAB(TAB2)
這麼一來,我要怎麼取得TAB2第二個page的handle?
麻煩前輩們指點迷津~謝謝~
Solved! Go to Solution.
09-11-2013 01:44 AM
I already fix it~!
here is the method to get multilayer tab page handle:
static int TABhandle1, TABhandle2;
GetPanelHandleFromTabPage(panelHandle,PANEL_TAB,0,TABhandle1); // Get layer one TAB "page 1" handle
GetPanelHandleFromTabPage(TABhandle1,TABPANEL_2_TAB,0,TABhandle2); // Get layer two TAB "page 1" handle
Taht's it~
Thank you~
Jamie
09-11-2013 01:46 AM
GetPanelHandleFromTabPage(panelHandle,PANEL_TAB,0,&TABhandle1); // Get layer one TAB "page 1" handle
GetPanelHandleFromTabPage(TABhandle1,TABPANEL_2_TAB,0,&TABhandle2); // Get layer two TAB "page 1" handle