Click here to Skip to main content
15,920,685 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A goto box Pin
Tim Smith6-Mar-03 10:31
Tim Smith6-Mar-03 10:31 
GeneralRe: A goto box Pin
Nish Nishant6-Mar-03 12:29
sitebuilderNish Nishant6-Mar-03 12:29 
GeneralRe: A goto box Pin
Moak6-Mar-03 15:15
Moak6-Mar-03 15:15 
GeneralRe: A goto box Pin
Christian Graus6-Mar-03 15:20
protectorChristian Graus6-Mar-03 15:20 
GeneralRe: A goto box Pin
Moak6-Mar-03 15:23
Moak6-Mar-03 15:23 
GeneralRe: A goto box Pin
Chris Meech7-Mar-03 4:54
Chris Meech7-Mar-03 4:54 
GeneralRe: A goto box Pin
Stefan Pedersen6-Mar-03 10:34
Stefan Pedersen6-Mar-03 10:34 
GeneralThe EM_SETCUEBANNER message Pin
Cancer_6-Mar-03 10:06
Cancer_6-Mar-03 10:06 
"The EM_SETCUEBANNER message sets the textual cue, or tip, that is displayed by the edit control to prompt the user for information. For more discussion of this, see the Remarks section.

Syntax:
To send this message, call the SendMessage function as follows.

SendMessage((HWND) hWndControl,(UINT) EM_SETCUEBANNER,(WPARAM) wParam,(LPARAM)lParam);

wParam:
Not used; must be zero.

lParam:
Pointer to a Unicode string that contains the text to display as the textual cue.

Used for:
An edit control that is used to begin a search may display "Enter search here" in gray text as a textual cue. When the user clicks the text, the text goes away and the user can type.

Note To use this API, you must provide a manifest specifying Comclt32.dll version 6.0. For more information on manifests, see Using Windows XP Visual Styles.

Message Information:
Header Declared in Commctrl.h
Minimum operating systems Windows XP "

This was taken from the MSDN website. I am trying to implement this into my program but whenever I try to compile my program I get an error "C2065: 'EM_SETCUEBANNER' : undeclared identifier"
I tried to #include "commctrl.h" but it didnt help.
Im using Visual Studio .Net, Windows XP & a MFC7 Dialog Application.
VS automaticly creates a manifest file so that could not be a problem. When I hover the mouse pointer over the 'EM_SETCUEBANNER' text I get a tooltip that says "EM_SETCUEBANNER (ECM_FIRST + 1)"- so it looks like its defined. Realy hope someone can help.

GeneralRe: The EM_SETCUEBANNER message Pin
Blake Miller7-Mar-03 9:29
Blake Miller7-Mar-03 9:29 
GeneralListening on a socket, inside a network Pin
obe6-Mar-03 10:00
obe6-Mar-03 10:00 
GeneralRe: Listening on a socket, inside a network Pin
Moak6-Mar-03 14:59
Moak6-Mar-03 14:59 
GeneralRe: Listening on a socket, inside a network Pin
obe6-Mar-03 23:58
obe6-Mar-03 23:58 
GeneralRe: Listening on a socket, inside a network Pin
Moak7-Mar-03 2:39
Moak7-Mar-03 2:39 
GeneralRe: Listening on a socket, inside a network Pin
obe7-Mar-03 2:57
obe7-Mar-03 2:57 
GeneralRe: Listening on a socket, inside a network Pin
Moak7-Mar-03 3:20
Moak7-Mar-03 3:20 
GeneralPrinting to non-default printer without showing dialog Pin
The Lady of Shallots6-Mar-03 9:59
The Lady of Shallots6-Mar-03 9:59 
GeneralRe: Printing to non-default printer without showing dialog Pin
CodeBrain6-Mar-03 21:52
CodeBrain6-Mar-03 21:52 
GeneralRe: Printing to non-default printer without showing dialog Pin
Roger Allen7-Mar-03 2:00
Roger Allen7-Mar-03 2:00 
Generalstatic global object initialization order Pin
Scott H. Settlemier6-Mar-03 9:56
Scott H. Settlemier6-Mar-03 9:56 
GeneralRe: static global object initialization order Pin
Stefan Pedersen6-Mar-03 10:22
Stefan Pedersen6-Mar-03 10:22 
GeneralRe: static global object initialization order Pin
Tim Smith6-Mar-03 10:30
Tim Smith6-Mar-03 10:30 
Generaldecoding a tcp stream Pin
Kuniva6-Mar-03 9:55
Kuniva6-Mar-03 9:55 
GeneralRe: decoding a tcp stream Pin
Stefan Pedersen6-Mar-03 10:19
Stefan Pedersen6-Mar-03 10:19 
GeneralRe: decoding a tcp stream Pin
Anonymous6-Mar-03 10:22
Anonymous6-Mar-03 10:22 
GeneralRe: decoding a tcp stream Pin
Kuniva6-Mar-03 10:32
Kuniva6-Mar-03 10:32 

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.