Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to find the memory usage programatically? Pin
Blake Miller5-Aug-05 6:09
Blake Miller5-Aug-05 6:09 
GeneralRe: How to find the memory usage programatically? Pin
appuanbu5-Aug-05 6:18
appuanbu5-Aug-05 6:18 
GeneralRe: How to find the memory usage programatically? Pin
Blake Miller8-Aug-05 6:26
Blake Miller8-Aug-05 6:26 
Generalcall graph Pin
jaycush5-Aug-05 4:57
jaycush5-Aug-05 4:57 
GeneralRe: call graph Pin
RChin5-Aug-05 5:16
RChin5-Aug-05 5:16 
GeneralRe: call graph Pin
jaycush5-Aug-05 5:30
jaycush5-Aug-05 5:30 
GeneralGDI+ stretching Pin
lroels5-Aug-05 4:56
lroels5-Aug-05 4:56 
QuestionWIN32 API question: WNDCLASS.cbWndExtra ? Pin
Anonymous5-Aug-05 4:33
Anonymous5-Aug-05 4:33 
Okay, I have a question for you...

The MSDN states about the WNDCLASS.cbWndExtra the following:

"Specifies the number of extra bytes to allocate following the window instance. The system initializes the bytes to zero. If an application uses WNDCLASS to register a dialog box created by using the CLASS directive in the resource file, it must set this member to DLGWINDOWEXTRA."

So for example... If I want to store a pointer to some internal structure I need to store associated with a HWND, I can set this cbWndExtra member to sizeof(MyInternalStruct) with RegisterClass... But how can this extra memory be accessed as the HWND is declared as VOID* in windows.h?

AnswerRe: WIN32 API question: WNDCLASS.cbWndExtra ? Pin
Blake Miller5-Aug-05 6:13
Blake Miller5-Aug-05 6:13 
AnswerRe: WIN32 API question: WNDCLASS.cbWndExtra ? Pin
Blake Miller5-Aug-05 6:14
Blake Miller5-Aug-05 6:14 
QuestionAbout Word Addin of adding a bmp? Pin
sharkmouse5-Aug-05 3:14
sharkmouse5-Aug-05 3:14 
GeneralDynamic Arrays...... Pin
Raza56805-Aug-05 3:10
Raza56805-Aug-05 3:10 
GeneralRe: Dynamic Arrays...... Pin
ThatsAlok5-Aug-05 3:14
ThatsAlok5-Aug-05 3:14 
GeneralRe: Dynamic Arrays...... Pin
Bob Stanneveld5-Aug-05 3:44
Bob Stanneveld5-Aug-05 3:44 
GeneralRe: Dynamic Arrays...... Pin
Roland Pibinger5-Aug-05 8:43
Roland Pibinger5-Aug-05 8:43 
QuestionTo get message from Windows if user writes on hard disk? Pin
sannik5-Aug-05 2:07
sannik5-Aug-05 2:07 
AnswerRe: To get message from Windows if user writes on hard disk? Pin
koothkeeper5-Aug-05 3:24
professionalkoothkeeper5-Aug-05 3:24 
GeneralCPropertyPage's caption Pin
LiYS5-Aug-05 1:31
LiYS5-Aug-05 1:31 
GeneralRe: CPropertyPage's caption Pin
eli150219795-Aug-05 1:42
eli150219795-Aug-05 1:42 
GeneralRe: CPropertyPage's caption Pin
LiYS5-Aug-05 4:34
LiYS5-Aug-05 4:34 
GeneralRe: CPropertyPage's caption Pin
Marc Soleda5-Aug-05 4:47
Marc Soleda5-Aug-05 4:47 
GeneralRe: CPropertyPage's caption Pin
LiYS5-Aug-05 20:16
LiYS5-Aug-05 20:16 
GeneralRe: CPropertyPage's caption Pin
Marc Soleda7-Aug-05 20:42
Marc Soleda7-Aug-05 20:42 
QuestionHow to ignore the style of colspan of tablecells? Pin
123ivan1235-Aug-05 1:26
123ivan1235-Aug-05 1:26 
AnswerRe: How to ignore the style of colspan of tablecells? Pin
123ivan1236-Aug-05 21:33
123ivan1236-Aug-05 21:33 

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.