Click here to Skip to main content
16,010,650 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWM_CLOSE or WM_DESTROY Pin
Steve L.7-Dec-01 16:15
Steve L.7-Dec-01 16:15 
GeneralRe: WM_CLOSE or WM_DESTROY Pin
Nish Nishant7-Dec-01 17:10
sitebuilderNish Nishant7-Dec-01 17:10 
GeneralRe: WM_CLOSE or WM_DESTROY Pin
Henry Jacobs8-Dec-01 10:38
Henry Jacobs8-Dec-01 10:38 
QuestionHow can you make a dialog show up in the taskbar? Pin
Cathy7-Dec-01 14:14
Cathy7-Dec-01 14:14 
AnswerRe: How can you make a dialog show up in the taskbar? Pin
Michael Dunn7-Dec-01 16:50
sitebuilderMichael Dunn7-Dec-01 16:50 
GeneralRe: How can you make a dialog show up in the taskbar? Pin
Cathy10-Dec-01 7:59
Cathy10-Dec-01 7:59 
GeneralGetWindowText wont work! Pin
Rickard Andersson207-Dec-01 11:33
Rickard Andersson207-Dec-01 11:33 
GeneralRe: GetWindowText wont work! Pin
Erik Thompson7-Dec-01 12:08
sitebuilderErik Thompson7-Dec-01 12:08 
The problem is that your whole app should be exploding. You haven't actually allocated any memory for your string, so the behavior will certainly be unexpected. Try allocating enough space for the string first then calll GetWindowText passing in the amount of space you actually allocated then do the message box then remember to clean up the memory you allocated. A good start would be to learn C/C++ programming before jumping head first into windows development.

Cheers,
-Erik
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
My thoughts are my own and reflect on no other.
GeneralRe: GetWindowText wont work! Pin
User 66588-Dec-01 3:26
User 66588-Dec-01 3:26 
GeneralRe: GetWindowText wont work! Pin
Masaaki Onishi8-Dec-01 4:52
Masaaki Onishi8-Dec-01 4:52 
GeneralVC++ Package Deployment Pin
Vu Nguyen7-Dec-01 11:10
Vu Nguyen7-Dec-01 11:10 
GeneralRe: VC++ Package Deployment Pin
Nemanja Trifunovic7-Dec-01 11:44
Nemanja Trifunovic7-Dec-01 11:44 
GeneralRe: VC++ Package Deployment Pin
Vu Nguyen7-Dec-01 12:25
Vu Nguyen7-Dec-01 12:25 
GeneralRe: VC++ Package Deployment Pin
Fazlul Kabir7-Dec-01 12:05
Fazlul Kabir7-Dec-01 12:05 
GeneralRe: VC++ Package Deployment Pin
Cathy7-Dec-01 14:43
Cathy7-Dec-01 14:43 
GeneralRAS problem Pin
7-Dec-01 10:28
suss7-Dec-01 10:28 
GeneralRe: Guess - RAS problem Pin
Masaaki Onishi7-Dec-01 13:24
Masaaki Onishi7-Dec-01 13:24 
GeneralRe: Guess - RAS problem Pin
7-Dec-01 15:01
suss7-Dec-01 15:01 
Generalproblem abot replace system recycle Pin
yangyanming7-Dec-01 10:25
yangyanming7-Dec-01 10:25 
GeneralDate Conversion Pin
Lilian Chan-Grant7-Dec-01 9:49
Lilian Chan-Grant7-Dec-01 9:49 
GeneralRe: Date Conversion Pin
Michael Dunn7-Dec-01 16:53
sitebuilderMichael Dunn7-Dec-01 16:53 
GeneralRe: Date Conversion Pin
Not Active7-Dec-01 17:23
mentorNot Active7-Dec-01 17:23 
GeneralRe: Date Conversion Pin
Lilian Chan-Grant2-Jan-02 6:56
Lilian Chan-Grant2-Jan-02 6:56 
GeneralRe: Date Conversion Pin
Ravi Bhavnani2-Jan-02 7:11
professionalRavi Bhavnani2-Jan-02 7:11 
GeneralRe: Date Conversion Pin
Michael Dunn2-Jan-02 7:30
sitebuilderMichael Dunn2-Jan-02 7:30 

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.