Click here to Skip to main content
15,920,383 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Switch between Unicode and ANSI Pin
hyling25-Feb-05 11:04
hyling25-Feb-05 11:04 
GeneralAnimate Control and AVI file. Pin
TUMB25-Feb-05 5:10
TUMB25-Feb-05 5:10 
GeneralRe: Animate Control and AVI file. Pin
namaskaaram27-Feb-05 17:16
namaskaaram27-Feb-05 17:16 
GeneralEnumWindows error Pin
cj_rahul25-Feb-05 4:48
cj_rahul25-Feb-05 4:48 
GeneralRe: EnumWindows error Pin
PJ Arends25-Feb-05 6:02
professionalPJ Arends25-Feb-05 6:02 
GeneralRe: EnumWindows error Pin
ThatsAlok25-Feb-05 17:43
ThatsAlok25-Feb-05 17:43 
GeneralAdd buttons to a Property Sheet Pin
bcemick25-Feb-05 4:44
bcemick25-Feb-05 4:44 
GeneralRe: Add buttons to a Property Sheet Pin
PJ Arends25-Feb-05 6:47
professionalPJ Arends25-Feb-05 6:47 
Everything is done in your propertysheet's OnCreate() member function.

For a menu, add a CMenu variable (m_Menu) to your property sheet class. In OnCreate call
m_Menu.LoadMenu(IDR_MENU1);
SetMenu(&m_Menu);


For buttons, add CButton members to your property sheet class. In OnCreate call m_Button.Create(...) for each button.

You can handle the commands from the menu and buttons using regular MFC message mapping.



"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ??? You're definitely a superstar!!!" mYkel - 21 Jun '04

Within you lies the power for good - Use it!
Honoured as one of The Most Helpful Members of 2004

GeneralRe: Add buttons to a Property Sheet Pin
bcemick25-Feb-05 7:57
bcemick25-Feb-05 7:57 
GeneralResource in .lib Pin
Hades_G25-Feb-05 3:51
Hades_G25-Feb-05 3:51 
GeneralRe: Resource in .lib Pin
Blake Miller25-Feb-05 4:54
Blake Miller25-Feb-05 4:54 
QuestionHow to connect to sql database without ODBC ? Pin
gecool25-Feb-05 3:28
gecool25-Feb-05 3:28 
AnswerRe: How to connect to sql database without ODBC ? Pin
Blake Miller25-Feb-05 3:45
Blake Miller25-Feb-05 3:45 
GeneralRe: How to connect to sql database without ODBC ? Pin
gecool25-Feb-05 4:14
gecool25-Feb-05 4:14 
GeneralOpening another Pin
BritishEmpire25-Feb-05 2:11
BritishEmpire25-Feb-05 2:11 
GeneralRe: Opening another Pin
David Crow25-Feb-05 2:43
David Crow25-Feb-05 2:43 
GeneralRe: Opening another form Pin
BritishEmpire25-Feb-05 6:07
BritishEmpire25-Feb-05 6:07 
GeneralRe: Opening another form Pin
David Crow25-Feb-05 6:19
David Crow25-Feb-05 6:19 
Generalwindows system file protection during install shield creation Pin
ThinkingPrometheus25-Feb-05 1:44
ThinkingPrometheus25-Feb-05 1:44 
GeneralRe: windows system file protection during install shield creation Pin
Mike Dimmick25-Feb-05 2:25
Mike Dimmick25-Feb-05 2:25 
GeneralRe: windows system file protection during install shield creation Pin
ThinkingPrometheus25-Feb-05 3:58
ThinkingPrometheus25-Feb-05 3:58 
Generaldrawing an icon Pin
Abu Mami25-Feb-05 1:38
Abu Mami25-Feb-05 1:38 
GeneralRe: drawing an icon Pin
PJ Arends25-Feb-05 6:27
professionalPJ Arends25-Feb-05 6:27 
GeneralRe: drawing an icon Pin
Abu Mami26-Feb-05 5:57
Abu Mami26-Feb-05 5:57 
GeneralDynamic ListControl click handler Pin
laiju25-Feb-05 1:16
laiju25-Feb-05 1:16 

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.