Get current tab position in a dialog box???
-
:confused:I know it's going to be simple, but can anyone please tell me how can I get current tab position or ID in a dialog box?
-
:confused:I know it's going to be simple, but can anyone please tell me how can I get current tab position or ID in a dialog box?
-
:confused:I know it's going to be simple, but can anyone please tell me how can I get current tab position or ID in a dialog box?
If you're talking about the currently activated tab in a tab control, then the message above is correct. If you want to find which control is active, then use
GetFocus()
. Ryan Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact" -
If you're talking about the currently activated tab in a tab control, then the message above is correct. If you want to find which control is active, then use
GetFocus()
. Ryan Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"Thanks for your help, Alex and Ryan. Send TCM_GETCURSEL message is all I needed.
-
Thanks for your help, Alex and Ryan. Send TCM_GETCURSEL message is all I needed.
skinnyreptile wrote: Thanks for your help You're welcome :) Ryan Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"