Click here to Skip to main content
16,011,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Stack register/pointer problem Pin
Arman S.23-Mar-08 0:11
Arman S.23-Mar-08 0:11 
GeneralRe: Stack register/pointer problem Pin
ForNow23-Mar-08 2:08
ForNow23-Mar-08 2:08 
QuestionHow to reference tlb file in VC++ Pin
Jahnson K21-Mar-08 11:21
Jahnson K21-Mar-08 11:21 
AnswerRe: How to reference tlb file in VC++ Pin
Arman S.21-Mar-08 13:46
Arman S.21-Mar-08 13:46 
GeneralRe: How to reference tlb file in VC++ Pin
Jahnson K25-Mar-08 7:46
Jahnson K25-Mar-08 7:46 
GeneralRe: How to reference tlb file in VC++ Pin
Jahnson K27-Mar-08 13:02
Jahnson K27-Mar-08 13:02 
GeneralUsing resources with subclassed controls. Pin
Amaroqwlf21-Mar-08 8:22
Amaroqwlf21-Mar-08 8:22 
GeneralRe: Using resources with subclassed controls. Pin
Mark Salsbery21-Mar-08 8:41
Mark Salsbery21-Mar-08 8:41 
I'm not sure what you mean here.

Have you subclassed an existing Windows common control or do you have your own window class,
which isn't a subclass?

And by resources, do you mean a custom control on a dialog resource?


Assuming you do mean a control on a dialog resource...

For a subclassed Windows common control, you use the common control class on the dialog and
subclass it after the dialog is created, which is the only time you can subclass it - when the control actually exists.

For a custom window/control class on a dialog, you can place a "Custom Control" (from the toolbox in the dialog editor)
on the dialog.  Then in its properties, set the appropriate values, especially the window class.  This window class will need
to be registered when you create the dialog or dialog creation will fail.

Mark


Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Using resources with subclassed controls. Pin
led mike21-Mar-08 9:20
led mike21-Mar-08 9:20 
GeneralRe: Using resources with subclassed controls. Pin
Amaroqwlf21-Mar-08 9:57
Amaroqwlf21-Mar-08 9:57 
GeneralRe: Using resources with subclassed controls. Pin
Mark Salsbery21-Mar-08 10:50
Mark Salsbery21-Mar-08 10:50 
QuestionGetCurrentHwProfile Pin
Joseph Marzbani21-Mar-08 8:16
Joseph Marzbani21-Mar-08 8:16 
GeneralRe: GetCurrentHwProfile Pin
led mike21-Mar-08 8:51
led mike21-Mar-08 8:51 
GeneralRe: GetCurrentHwProfile Pin
David Crow21-Mar-08 10:09
David Crow21-Mar-08 10:09 
GeneralRe: GetCurrentHwProfile Pin
Arman S.21-Mar-08 13:52
Arman S.21-Mar-08 13:52 
Questiontaylor formula Pin
me_10121-Mar-08 8:05
me_10121-Mar-08 8:05 
GeneralGet back in the Soapbox Kyle! Pin
led mike21-Mar-08 8:45
led mike21-Mar-08 8:45 
GeneralRe: taylor formula Pin
malaugh21-Mar-08 9:04
malaugh21-Mar-08 9:04 
QuestionRe: taylor formula Pin
CPallini21-Mar-08 10:40
mveCPallini21-Mar-08 10:40 
GeneralOpening terminal windows from command line app Pin
malaugh21-Mar-08 7:16
malaugh21-Mar-08 7:16 
AnswerRe: Opening terminal windows from command line app Pin
Rajkumar R21-Mar-08 9:22
Rajkumar R21-Mar-08 9:22 
GeneralRe: Opening terminal windows from command line app Pin
malaugh21-Mar-08 10:24
malaugh21-Mar-08 10:24 
QuestionRe: Opening terminal windows from command line app Pin
David Crow21-Mar-08 10:41
David Crow21-Mar-08 10:41 
GeneralRe: Opening terminal windows from command line app Pin
malaugh21-Mar-08 11:54
malaugh21-Mar-08 11:54 
QuestionWindows file sharing Pin
Member 241965021-Mar-08 4:21
Member 241965021-Mar-08 4:21 

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.