Click here to Skip to main content
16,005,467 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralShare combobox on different pages Pin
harmendejong22-Jul-03 21:40
harmendejong22-Jul-03 21:40 
GeneralRe: Share combobox on different pages Pin
zeki yugnak22-Jul-03 23:14
zeki yugnak22-Jul-03 23:14 
GeneralRe: Share combobox on different pages Pin
harmendejong22-Jul-03 23:42
harmendejong22-Jul-03 23:42 
GeneralRe: Share combobox on different pages Pin
Ryan Binns22-Jul-03 23:31
Ryan Binns22-Jul-03 23:31 
GeneralRe: Share combobox on different pages Pin
Toni7823-Jul-03 0:14
Toni7823-Jul-03 0:14 
GeneralRe: Share combobox on different pages Pin
harmendejong23-Jul-03 0:41
harmendejong23-Jul-03 0:41 
GeneralRe: Share combobox on different pages Pin
Toni7823-Jul-03 1:19
Toni7823-Jul-03 1:19 
GeneralRe: Share combobox on different pages Pin
Ryan Binns23-Jul-03 4:11
Ryan Binns23-Jul-03 4:11 
Yes, it's technically possible, but it's a logistical nightmare Smile | :) . It's a bit more difficult that moving one edit box around on a single page.

All the combo box messages are sent to the parent of the combo box, such as selection change, edit change, focus change etc. Yes, the parent can be changed dynamically to the different pages (using SetParent()) but it's not much more than a hack, and makes it virtually impossible to use ClassWizard (not much of a limitation, but depending on his skill with VC++ it may be).

The selection of the combo box can be different on each page, and will need to be saved and restored every time a new page is displayed.

Basically, it's more work to keep track of one combo box on multiple pages than it is to try to speed up the loading process.

Ryan
"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"

GeneralRe: Share combobox on different pages Pin
David Crow23-Jul-03 3:39
David Crow23-Jul-03 3:39 
Questionhow to create a user name and password for a database ? Pin
vcseeker22-Jul-03 21:35
vcseeker22-Jul-03 21:35 
AnswerRe: how to create a user name and password for a database ? Pin
sorenb23-Jul-03 0:48
sorenb23-Jul-03 0:48 
AnswerRe: how to create a user name and password for a database ? Pin
Alexander M.,23-Jul-03 2:03
Alexander M.,23-Jul-03 2:03 
QuestionHow to prevent binding a Type library to a ATL Attributed DLL ? need help ! Pin
talhalfon22-Jul-03 21:26
talhalfon22-Jul-03 21:26 
GeneralQuestion about file descriptor. Pin
George222-Jul-03 21:24
George222-Jul-03 21:24 
GeneralRe: Question about file descriptor. Pin
Ryan Binns22-Jul-03 23:34
Ryan Binns22-Jul-03 23:34 
GeneralRe: Question about file descriptor. Pin
George223-Jul-03 0:20
George223-Jul-03 0:20 
GeneralRe: Question about file descriptor. Pin
Ryan Binns23-Jul-03 4:17
Ryan Binns23-Jul-03 4:17 
GeneralRe: Question about file descriptor. Pin
George224-Jul-03 2:48
George224-Jul-03 2:48 
QuestionGDI+ in ATL ActiveX control??? Pin
denkor22-Jul-03 20:41
denkor22-Jul-03 20:41 
GeneralFocus Pin
Valeria Bogdevich22-Jul-03 20:17
Valeria Bogdevich22-Jul-03 20:17 
GeneralRe: Focus Pin
Toni7822-Jul-03 20:25
Toni7822-Jul-03 20:25 
GeneralRe: Focus Pin
Toni7822-Jul-03 22:54
Toni7822-Jul-03 22:54 
GeneralRe: Focus Pin
Valeria Bogdevich23-Jul-03 1:42
Valeria Bogdevich23-Jul-03 1:42 
GeneralRe: Focus Pin
Toni7823-Jul-03 1:47
Toni7823-Jul-03 1:47 
GeneralRe: Focus Pin
Ryan Binns22-Jul-03 23:39
Ryan Binns22-Jul-03 23:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.