Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: List controll Pin
Ravi Bhavnani6-Aug-04 3:12
professionalRavi Bhavnani6-Aug-04 3:12 
Generalwindow doesn't get redrawn Pin
Kamis6-Aug-04 2:56
Kamis6-Aug-04 2:56 
GeneralRe: window doesn't get redrawn Pin
Ravi Bhavnani6-Aug-04 3:14
professionalRavi Bhavnani6-Aug-04 3:14 
GeneralRe: window doesn't get redrawn Pin
Kamis6-Aug-04 7:04
Kamis6-Aug-04 7:04 
GeneralRe: window doesn't get redrawn Pin
Ravi Bhavnani6-Aug-04 7:37
professionalRavi Bhavnani6-Aug-04 7:37 
GeneralInserting ActiveX from VB Pin
dudic6-Aug-04 2:44
dudic6-Aug-04 2:44 
GeneralRe: Drag n Drop a file Pin
David Crow6-Aug-04 2:34
David Crow6-Aug-04 2:34 
Generaltristate menu item Pin
gokings6-Aug-04 2:30
gokings6-Aug-04 2:30 
When one creates a drop down menu using the resource editor, it is possible to specify that a menu item is "checked", allowing one to have a check mark appear (or not) on the item when the menu is dropped down.

I would like a tri-state check mark. The check mark is either present, not present, or "greyed".

If I call pCmdUI->SetCheck(2), where pCmdUI is the CCmdUI* pointer passed to the "UI Update method", it causes the check mark to be drawn just as passing the value 1 would. The documentation indicates that the value 2 indicates an indeterminate state (the tristate).

Do I need to somehow intercept the menu being activated, and then change some kind of style mask on the menu items?

Any suggestions or example code would be appreciated.

Thanks
GeneralIs there any method to draw point and ellipse using real value( i.e. floats) Pin
JHAKAS6-Aug-04 0:49
JHAKAS6-Aug-04 0:49 
GeneralNo Keyboard Dialog Controls Pin
Joel Holdsworth6-Aug-04 0:46
Joel Holdsworth6-Aug-04 0:46 
GeneralRe: No Keyboard Dialog Controls Pin
David Crow6-Aug-04 2:13
David Crow6-Aug-04 2:13 
GeneralRe: No Keyboard Dialog Controls Pin
Joel Holdsworth6-Aug-04 3:30
Joel Holdsworth6-Aug-04 3:30 
GeneralUpdating file attached to ofstream. Pin
CreepingFeature6-Aug-04 0:44
CreepingFeature6-Aug-04 0:44 
QuestionHow to view a file with default viewers? Pin
ryuki6-Aug-04 0:41
ryuki6-Aug-04 0:41 
AnswerRe: How to view a file with default viewers? Pin
Michael P Butler6-Aug-04 0:53
Michael P Butler6-Aug-04 0:53 
GeneralRe: How to view a file with default viewers? Pin
ryuki6-Aug-04 2:02
ryuki6-Aug-04 2:02 
Questionhow to run multiple instances of a service Pin
Michael Olsen6-Aug-04 0:32
Michael Olsen6-Aug-04 0:32 
AnswerRe: how to run multiple instances of a service Pin
Michael P Butler6-Aug-04 0:50
Michael P Butler6-Aug-04 0:50 
GeneralRe: how to run multiple instances of a service Pin
Michael Olsen8-Aug-04 21:09
Michael Olsen8-Aug-04 21:09 
GeneralRe: how to run multiple instances of a service Pin
Michael P Butler8-Aug-04 21:19
Michael P Butler8-Aug-04 21:19 
GeneralSOS! About the API CreatePolygonRgn() Pin
xulibing6-Aug-04 0:24
xulibing6-Aug-04 0:24 
GeneralRe: SOS! About the API CreatePolygonRgn() Pin
xulibing6-Aug-04 15:00
xulibing6-Aug-04 15:00 
GeneralRe: SOS! About the API CreatePolygonRgn() Pin
xulibing6-Aug-04 15:01
xulibing6-Aug-04 15:01 
QuestionHow to Set HotKeys Pin
zahid_ash6-Aug-04 0:04
zahid_ash6-Aug-04 0:04 
AnswerRe: How to Set HotKeys Pin
Antony M Kancidrowski6-Aug-04 0:39
Antony M Kancidrowski6-Aug-04 0:39 

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.