Click here to Skip to main content
15,913,315 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to make a default button at Run Time Pin
Touseef Afzal27-Mar-04 4:25
Touseef Afzal27-Mar-04 4:25 
GeneralRe: How to make a default button at Run Time Pin
Steve S29-Mar-04 0:56
Steve S29-Mar-04 0:56 
GeneralDirectSound question Pin
pankajdaga25-Mar-04 10:41
pankajdaga25-Mar-04 10:41 
GeneralRe: DirectSound question Pin
Ryan Binns25-Mar-04 17:28
Ryan Binns25-Mar-04 17:28 
GeneralRe: DirectSound question Pin
pankajdaga25-Mar-04 20:07
pankajdaga25-Mar-04 20:07 
GeneralSetFocus in EditControl Pin
xzigax25-Mar-04 9:27
xzigax25-Mar-04 9:27 
GeneralRe: SetFocus in EditControl Pin
Hesham Amin25-Mar-04 9:51
Hesham Amin25-Mar-04 9:51 
QuestionHow to get the handle of a control in properties sheet. Pin
bin892225-Mar-04 9:18
bin892225-Mar-04 9:18 
Hello, everyone,
In my current project, I want to display xp style button(OK, Cancel and apply) in the properties sheet.
If I do it using MFC, it would be very easy. I just need to
m_btnXPButton.SubclassWindow(GetDlgItem(ID_APPLY_NOW)->m_hWand);
But when I tried to do the same thing in ATL, the returned handle for ID_APPLY_NOW (IDOK and IDCANCEL) is NULL.
How can I get the handle of a control in the properties sheet written in ATL.

Thanks a lot in advance.

bin
AnswerRe: How to get the handle of a control in properties sheet. Pin
David Crow25-Mar-04 10:15
David Crow25-Mar-04 10:15 
AnswerRe: How to get the handle of a control in properties sheet. Pin
Prakash Nadar25-Mar-04 19:31
Prakash Nadar25-Mar-04 19:31 
GeneralThe value returned is NULL Pin
bin892226-Mar-04 5:05
bin892226-Mar-04 5:05 
GeneralStatus bar gripper Pin
sschilachi25-Mar-04 8:50
sschilachi25-Mar-04 8:50 
QuestionDialog Help Needed? Pin
modeonetwo25-Mar-04 6:51
modeonetwo25-Mar-04 6:51 
AnswerRe: Dialog Help Needed? Pin
David Crow25-Mar-04 8:27
David Crow25-Mar-04 8:27 
AnswerRe: Dialog Help Needed? Pin
Robert A. T. Káldy25-Mar-04 10:52
Robert A. T. Káldy25-Mar-04 10:52 
QuestionHow do I get the Main Window in a thread ? Pin
glweid25-Mar-04 5:50
glweid25-Mar-04 5:50 
AnswerRe: How do I get the Main Window in a thread ? Pin
ViliamD25-Mar-04 6:05
sussViliamD25-Mar-04 6:05 
GeneralDLL not found !!! Pin
BlackDice25-Mar-04 5:49
BlackDice25-Mar-04 5:49 
GeneralRe: DLL not found !!! Pin
ViliamD25-Mar-04 5:57
sussViliamD25-Mar-04 5:57 
GeneralRe: DLL not found !!! Pin
BlackDice25-Mar-04 7:21
BlackDice25-Mar-04 7:21 
GeneralRe: DLL not found !!! Pin
_moved25-Mar-04 6:25
_moved25-Mar-04 6:25 
Generalsyntax of several keyword Pin
davidw198325-Mar-04 5:40
davidw198325-Mar-04 5:40 
GeneralRe: syntax of several keyword Pin
David Crow25-Mar-04 8:30
David Crow25-Mar-04 8:30 
GeneralFile filter on default save/open dialog Pin
Jon Baker25-Mar-04 5:29
Jon Baker25-Mar-04 5:29 
GeneralRe: File filter on default save/open dialog Pin
ViliamD25-Mar-04 5:48
sussViliamD25-Mar-04 5:48 

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.