Click here to Skip to main content
15,899,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ActiveX versioning Pin
David Crow22-Aug-05 7:22
David Crow22-Aug-05 7:22 
GeneralRe: ActiveX versioning Pin
KaЯl22-Aug-05 21:16
KaЯl22-Aug-05 21:16 
GeneralTransparent Dialog, but... Pin
Hamed Musavi22-Aug-05 5:16
Hamed Musavi22-Aug-05 5:16 
Questiontooltips for bitmaps? Pin
sayup22-Aug-05 5:13
sayup22-Aug-05 5:13 
AnswerRe: tooltips for bitmaps? Pin
Hamed Musavi22-Aug-05 5:33
Hamed Musavi22-Aug-05 5:33 
GeneralRe: tooltips for bitmaps? Pin
sayup22-Aug-05 18:21
sayup22-Aug-05 18:21 
GeneralRe: tooltips for bitmaps? Pin
Hamed Musavi22-Aug-05 22:32
Hamed Musavi22-Aug-05 22:32 
AnswerRe: tooltips for bitmaps? Pin
Bob Ciora22-Aug-05 6:36
Bob Ciora22-Aug-05 6:36 
This can be done automatically using Visual Studio. If you look at the Properties for any of the "standard" toolbar buttons generated for a blank project (SDI or MDI), check out the "Prompt" line at the very bottom of this dialog. There will be 2 strings, separated by a newline character. The first string will be displayed in the status bar, while the second will be used as the popup tooltip text (what you're looking for).

For example, the standard ID_FILE_SAVE button's Prompt string reads "Save the active document\nSave". "Save the active document" is displayed on the status bar while hovering over this button, while "Save" is displayed as the tooltip text while hovering.

Note that this prompt string also affects any menu items that use the same ID. Only the first of the Prompt strings is used, however, to fill in the status bar.

To get the tooltips for your buttons, just edit the Prompt string under the button's Properties.

Hope this helps.


Bob Ciora
GeneralRe: tooltips for bitmaps? Pin
Bob Ciora22-Aug-05 6:37
Bob Ciora22-Aug-05 6:37 
GeneralRe: tooltips for bitmaps? Pin
Hamed Musavi22-Aug-05 10:20
Hamed Musavi22-Aug-05 10:20 
Generalsteps needed to call DeviceIoControl Pin
gamitech22-Aug-05 5:05
gamitech22-Aug-05 5:05 
GeneralRe: steps needed to call DeviceIoControl Pin
David Crow22-Aug-05 5:12
David Crow22-Aug-05 5:12 
GeneralRe: steps needed to call DeviceIoControl Pin
gamitech22-Aug-05 10:01
gamitech22-Aug-05 10:01 
GeneralRe: steps needed to call DeviceIoControl Pin
David Crow22-Aug-05 10:32
David Crow22-Aug-05 10:32 
GeneralRe: steps needed to call DeviceIoControl Pin
gamitech22-Aug-05 10:46
gamitech22-Aug-05 10:46 
Generalhttp attachment Pin
ppp00122-Aug-05 5:02
ppp00122-Aug-05 5:02 
GeneralCListCtrl HotItem colour Pin
Janette22-Aug-05 4:19
Janette22-Aug-05 4:19 
GeneralSupress the FileDownload Dialog in Internet Explorer Pin
G.Radhakrishna22-Aug-05 3:18
G.Radhakrishna22-Aug-05 3:18 
GeneralWindows Error Message Handler Pin
nripun22-Aug-05 2:41
nripun22-Aug-05 2:41 
GeneralRe: Windows Error Message Handler Pin
Cedric Moonen22-Aug-05 3:11
Cedric Moonen22-Aug-05 3:11 
GeneralRe: Windows Error Message Handler Pin
nripun22-Aug-05 3:20
nripun22-Aug-05 3:20 
GeneralRe: Windows Error Message Handler Pin
Blake Miller22-Aug-05 5:58
Blake Miller22-Aug-05 5:58 
GeneralLoad application as view Pin
Geert van Horrik22-Aug-05 2:41
Geert van Horrik22-Aug-05 2:41 
GeneralRe: Load application as view Pin
Chris Losinger22-Aug-05 4:12
professionalChris Losinger22-Aug-05 4:12 
GeneralRe: Load application as view Pin
Geert van Horrik22-Aug-05 4:47
Geert van Horrik22-Aug-05 4:47 

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.