Click here to Skip to main content
16,016,477 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: C++ program and my __asm Pin
Hans Dietrich28-Apr-11 7:12
mentorHans Dietrich28-Apr-11 7:12 
AnswerRe: C++ program and my __asm Pin
Andrew Phillips30-Apr-11 4:49
Andrew Phillips30-Apr-11 4:49 
QuestionHow to use the mysql in the child thread ? Pin
wangningyu27-Apr-11 21:42
wangningyu27-Apr-11 21:42 
AnswerRe: How to use the mysql in the child thread ? Pin
_AnsHUMAN_ 27-Apr-11 23:58
_AnsHUMAN_ 27-Apr-11 23:58 
QuestionHow do i get a InterlockedCompare ? Pin
cl_gamer27-Apr-11 15:52
cl_gamer27-Apr-11 15:52 
AnswerRe: How do i get a InterlockedCompare ? Pin
Luc Pattyn27-Apr-11 17:08
sitebuilderLuc Pattyn27-Apr-11 17:08 
QuestionHow to set EM_SETCUEBANNER in a Edit Control Pin
vishalgpt27-Apr-11 9:13
vishalgpt27-Apr-11 9:13 
AnswerRe: How to set EM_SETCUEBANNER in a Edit Control Pin
krmed27-Apr-11 9:47
krmed27-Apr-11 9:47 
The text for your "Username" must be wide character
case WM_INITDIALOG:
SendMessage(GetDlgItem(hwnd,IDC_USER), EM_SETCUEBANNER, 0, (LPARAM)L"Username");
break;

Other than that, it's supported on WinXP and later - and I believe you need to have WINVER set to 0501 or higher - at least you used to need that.

If your project is Unicode, then the TEXT macro will do, but if it's not Unicode, you must use the L prefix to create a wide character string.

Hope this helps
Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193

GeneralRe: How to set EM_SETCUEBANNER in a Edit Control Pin
vishalgpt27-Apr-11 17:05
vishalgpt27-Apr-11 17:05 
AnswerRe: How to set EM_SETCUEBANNER in a Edit Control Pin
«_Superman_»28-Apr-11 0:08
professional«_Superman_»28-Apr-11 0:08 
GeneralRe: How to set EM_SETCUEBANNER in a Edit Control Pin
krmed28-Apr-11 3:36
krmed28-Apr-11 3:36 
QuestionSleep in Button Click Pin
varunpandeyengg27-Apr-11 0:20
varunpandeyengg27-Apr-11 0:20 
AnswerRe: Sleep in Button Click Pin
_AnsHUMAN_ 27-Apr-11 0:42
_AnsHUMAN_ 27-Apr-11 0:42 
GeneralRe: Sleep in Button Click Pin
varunpandeyengg27-Apr-11 1:19
varunpandeyengg27-Apr-11 1:19 
GeneralRe: Sleep in Button Click Pin
_AnsHUMAN_ 27-Apr-11 1:50
_AnsHUMAN_ 27-Apr-11 1:50 
GeneralRe: Sleep in Button Click Pin
varunpandeyengg27-Apr-11 1:56
varunpandeyengg27-Apr-11 1:56 
GeneralRe: Sleep in Button Click PinPopular
_AnsHUMAN_ 27-Apr-11 2:02
_AnsHUMAN_ 27-Apr-11 2:02 
GeneralRe: Sleep in Button Click Pin
Albert Holguin27-Apr-11 18:26
professionalAlbert Holguin27-Apr-11 18:26 
GeneralRe: Sleep in Button Click Pin
Albert Holguin27-Apr-11 18:25
professionalAlbert Holguin27-Apr-11 18:25 
GeneralRe: Sleep in Button Click Pin
varunpandeyengg27-Apr-11 20:31
varunpandeyengg27-Apr-11 20:31 
GeneralRe: Sleep in Button Click Pin
Albert Holguin28-Apr-11 8:34
professionalAlbert Holguin28-Apr-11 8:34 
QuestionHow do i find last created file in a specified directory? Pin
yogish29326-Apr-11 21:55
yogish29326-Apr-11 21:55 
AnswerRe: How do i find last created file in a specified directory? Pin
_AnsHUMAN_ 26-Apr-11 22:19
_AnsHUMAN_ 26-Apr-11 22:19 
GeneralRe: How do i find last created file in a specified directory? Pin
yogish29326-Apr-11 23:34
yogish29326-Apr-11 23:34 
QuestionFindWindowex in MFC Application Pin
irudayam26-Apr-11 21:14
irudayam26-Apr-11 21:14 

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.