Click here to Skip to main content
16,012,316 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: LBS_OWNERDRAWFIXED error? Pin
Maximilien18-Jun-03 5:07
Maximilien18-Jun-03 5:07 
GeneralRe: LBS_OWNERDRAWFIXED error? Pin
Jim D18-Jun-03 7:49
Jim D18-Jun-03 7:49 
GeneralUNC Pin
RChin18-Jun-03 4:53
RChin18-Jun-03 4:53 
GeneralModeless Property Sheet Pin
Jay Hova18-Jun-03 4:49
Jay Hova18-Jun-03 4:49 
GeneralRe: Modeless Property Sheet Pin
Joan M18-Jun-03 5:18
professionalJoan M18-Jun-03 5:18 
GeneralRe: Modeless Property Sheet Pin
Jay Hova18-Jun-03 8:16
Jay Hova18-Jun-03 8:16 
GeneralRe: Modeless Property Sheet Pin
Ryan Binns18-Jun-03 15:26
Ryan Binns18-Jun-03 15:26 
GeneralRe: Modeless Property Sheet Pin
Jay Hova19-Jun-03 1:39
Jay Hova19-Jun-03 1:39 
Hi,

Thanks for all your help.
I did what you suggested, but to no avail. It compiled, but when i went to the app it gave a couple of errors and then popped both windows up. First a blank dialog came up, and then the property sheet came up. Both are closed once I close the blank window. What I have as the code now is:
sheet.AddPage(&tab1);
sheet.AddPage(&tab2);
sheet.AddPage(&tab3);

sheet.Create (this, WS_VISIBLE , 0);
//sheet.ModifyStyleEx (0, WS_EX_CONTROLPARENT);
//sheet.ModifyStyle( 0, WS_TABSTOP, 0);
//sheet.UpdateData(FALSE);
//sheet.SetWindowPos(NULL, 0, 0, 0, 0, SWP_NOZORDER | SWP_NOSIZE | SWP_NOACTIVATE);

BTW, sheet is instantiated like this:
CPropertSheet sheet;

tab1, tab2, tab3 are all Dialogs with base class of CPropertyPage

Am I doing something wrong?

PLEASE HELP.
Thanks in advance everyone.
GeneralRe: Modeless Property Sheet Pin
Ryan Binns19-Jun-03 1:51
Ryan Binns19-Jun-03 1:51 
Generaldesign question Pin
monrobot1318-Jun-03 3:36
monrobot1318-Jun-03 3:36 
GeneralRe: design question Pin
valikac18-Jun-03 6:54
valikac18-Jun-03 6:54 
GeneralSerial communication problem Pin
justin22318-Jun-03 2:31
justin22318-Jun-03 2:31 
GeneralRe: Serial communication problem Pin
justin22318-Jun-03 3:17
justin22318-Jun-03 3:17 
GeneralRe: Serial communication problem Pin
justin22318-Jun-03 3:41
justin22318-Jun-03 3:41 
GeneralRe: Serial communication problem Pin
justin22318-Jun-03 4:01
justin22318-Jun-03 4:01 
Generalproblem with EnumDisplayDevices(..) Pin
Anonymous18-Jun-03 2:03
Anonymous18-Jun-03 2:03 
GeneralRe: problem with EnumDisplayDevices(..) Pin
Anonymous18-Jun-03 4:18
Anonymous18-Jun-03 4:18 
GeneralRe: problem with EnumDisplayDevices(..) Pin
Anonymous18-Jun-03 4:51
Anonymous18-Jun-03 4:51 
GeneralRe: problem with EnumDisplayDevices(..) Pin
Ryan Binns18-Jun-03 15:31
Ryan Binns18-Jun-03 15:31 
GeneralRe: problem with EnumDisplayDevices(..) Pin
Hatem Darweesh18-Jun-03 20:56
Hatem Darweesh18-Jun-03 20:56 
GeneralRe: problem with EnumDisplayDevices(..) Pin
Ryan Binns18-Jun-03 21:06
Ryan Binns18-Jun-03 21:06 
GeneralRe: problem with EnumDisplayDevices(..) Pin
Hatem Darweesh18-Jun-03 21:18
Hatem Darweesh18-Jun-03 21:18 
GeneralRe: problem with EnumDisplayDevices(..) Pin
Ryan Binns18-Jun-03 21:33
Ryan Binns18-Jun-03 21:33 
GeneralRe: problem with EnumDisplayDevices(..) Pin
Hatem Darweesh18-Jun-03 22:02
Hatem Darweesh18-Jun-03 22:02 
GeneralRe: problem with EnumDisplayDevices(..) Pin
Anonymous18-Jun-03 22:09
Anonymous18-Jun-03 22:09 

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.