Click here to Skip to main content
15,908,673 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralExport registry settings Pin
Eq10-Nov-00 5:00
Eq10-Nov-00 5:00 
GeneralProblem with WritePrivateProfileString Pin
User 665810-Nov-00 3:21
User 665810-Nov-00 3:21 
GeneralRe: Problem with WritePrivateProfileString Pin
Masaaki Onishi10-Nov-00 7:29
Masaaki Onishi10-Nov-00 7:29 
GeneralRe: Problem with WritePrivateProfileString Pin
User 665811-Nov-00 3:12
User 665811-Nov-00 3:12 
GeneralScrollbars on static control Pin
Joris Mans10-Nov-00 3:12
sussJoris Mans10-Nov-00 3:12 
GeneralUpdating desktop icons Pin
marakid10-Nov-00 1:02
marakid10-Nov-00 1:02 
QuestionRoll Box as 3dsMax ? Pin
Roms9-Nov-00 18:05
Roms9-Nov-00 18:05 
AnswerRe: Roll Box as 3dsMax ? Pin
12-Nov-00 18:38
suss12-Nov-00 18:38 
The idea is to use a page concept. Each page is based on a CDialog, and has a IDD referencing the dialog template you want.

When each page is added to the control (similar to the PropertySheet::Addpage function) , make it the child of a container window that contains the show/hide button and group border. This container is in turn a child window of the actual control.

When a container button is pressed, just show or hide the page window as appropriatte, and resize the container to the 'hidden' size.

When something happens to change the look of the control, such as one of the container buttons being pressed, or scrolling of the control contents, call a layout function that moves the container windows around (normally just a vertical re-positioning) so that the pages look like they are opening and closing.

Thats the basic concept, I have some code for this lying around if you really want it, its not generic, but it works.

GeneralRe: Roll Box as 3dsMax ? Pin
Roms12-Nov-00 19:09
Roms12-Nov-00 19:09 
QuestionHow to play AVI files from memory Pin
Mikko Mononen9-Nov-00 6:18
Mikko Mononen9-Nov-00 6:18 
GeneralSuppressing backspace... Pin
RK9-Nov-00 6:07
RK9-Nov-00 6:07 
GeneralDLL as a container for ActiveX control Pin
dcmace39-Nov-00 5:31
sussdcmace39-Nov-00 5:31 
GeneralNetDDE on WinNT Pin
Mouez9-Nov-00 3:22
Mouez9-Nov-00 3:22 
GeneralNetDDE on WinNT Pin
Mouez9-Nov-00 3:22
Mouez9-Nov-00 3:22 
GeneralUsing Microsoft G.723.1 codec Pin
Oleg M9-Nov-00 2:34
sussOleg M9-Nov-00 2:34 
GeneralCView and CDocument and ... Pin
Hadi Rezaie8-Nov-00 23:59
sussHadi Rezaie8-Nov-00 23:59 
GeneralLicense number of executables Pin
raj8-Nov-00 21:55
raj8-Nov-00 21:55 
GeneralRe: License number of executables Pin
14-Nov-00 5:40
suss14-Nov-00 5:40 
Generaldifference between using a static lib, or just using the C files Pin
Bryan Russell8-Nov-00 13:45
Bryan Russell8-Nov-00 13:45 
GeneralRe: difference between using a static lib, or just using the C files Pin
Chris Meech10-Nov-00 6:07
Chris Meech10-Nov-00 6:07 
GeneralRe: difference between using a static lib, or just using the C files Pin
15-Nov-00 0:24
suss15-Nov-00 0:24 
GeneralRe: difference between using a static lib, or just using the C files Pin
16-Nov-00 2:41
suss16-Nov-00 2:41 
GeneralSQL Server Pin
Guillaume Belzile8-Nov-00 10:57
sussGuillaume Belzile8-Nov-00 10:57 
GeneralExport registry Pin
Eq8-Nov-00 5:28
Eq8-Nov-00 5:28 
Questionwhat would be the proper way to use bitmasks? Pin
Byron Thomas Cullen8-Nov-00 3:49
Byron Thomas Cullen8-Nov-00 3:49 

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.