Click here to Skip to main content
15,891,925 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to menu click ? Pin
pramod kumar17-Feb-02 4:40
pramod kumar17-Feb-02 4:40 
AnswerRe: How to menu click ? Pin
Michael Dunn17-Feb-02 8:28
sitebuilderMichael Dunn17-Feb-02 8:28 
Generalnew SaveAs IE dialog buttons (the ones on the left) Pin
17-Feb-02 3:41
suss17-Feb-02 3:41 
GeneralRe: new SaveAs IE dialog buttons (the ones on the left) Pin
Tim Smith17-Feb-02 3:52
Tim Smith17-Feb-02 3:52 
GeneralRe: new SaveAs IE dialog buttons (the ones on the left) Pin
17-Feb-02 4:18
suss17-Feb-02 4:18 
GeneralRe: new SaveAs IE dialog buttons (the ones on the left) Pin
Simon Walton17-Feb-02 4:29
Simon Walton17-Feb-02 4:29 
GeneralRe: new SaveAs IE dialog buttons (the ones on the left) Pin
Lockhart17-Feb-02 7:10
Lockhart17-Feb-02 7:10 
GeneralRe: new SaveAs IE dialog buttons (the ones on the left) Pin
Simon Walton17-Feb-02 9:30
Simon Walton17-Feb-02 9:30 
NP. Take a look here for a good button set class. It's a bit overkill for one style though. You'll something like;

CCustomButton::OnDraw()
{
   if(bHover)
       draw_with_border()
   else
       draw_without_border()
}


Just use a TRACKMOUSEEVENT structure to determine if the cursor is hovering, and change bHover appropriately.

Simon
"The more I learn, the more I realize I don't know" - Colin Davies
Sonork ID 100.10024
GeneralRe: new SaveAs IE dialog buttons (the ones on the left) Pin
Lockhart17-Feb-02 11:21
Lockhart17-Feb-02 11:21 
GeneralRe: new SaveAs IE dialog buttons (the ones on the left) Pin
Michael Dunn17-Feb-02 8:30
sitebuilderMichael Dunn17-Feb-02 8:30 
GeneralRe: new SaveAs IE dialog buttons (the ones on the left) Pin
Lockhart17-Feb-02 11:24
Lockhart17-Feb-02 11:24 
GeneralRe: OMG, stupid me Pin
Tim Smith17-Feb-02 12:02
Tim Smith17-Feb-02 12:02 
GeneralIActiveDesktop proglem!! Pin
Rickard Andersson2017-Feb-02 3:27
Rickard Andersson2017-Feb-02 3:27 
GeneralRe: IActiveDesktop proglem!! Pin
Tim Smith17-Feb-02 4:00
Tim Smith17-Feb-02 4:00 
GeneralRe: IActiveDesktop proglem!! Pin
Rickard Andersson2017-Feb-02 4:17
Rickard Andersson2017-Feb-02 4:17 
GeneralRe: IActiveDesktop proglem!! Pin
Michael Dunn17-Feb-02 8:33
sitebuilderMichael Dunn17-Feb-02 8:33 
GeneralRe: IActiveDesktop proglem!! Pin
Rickard Andersson2017-Feb-02 10:05
Rickard Andersson2017-Feb-02 10:05 
GeneralRe: IActiveDesktop proglem!! Pin
Michael Dunn17-Feb-02 12:39
sitebuilderMichael Dunn17-Feb-02 12:39 
GeneralCatching The Refresh Event Using BHO Pin
Hushpappy17-Feb-02 2:15
Hushpappy17-Feb-02 2:15 
QuestionModify size of an edge drawn using DrawEdge (...) ? Pin
17-Feb-02 2:02
suss17-Feb-02 2:02 
AnswerRe: Modify size of an edge drawn using DrawEdge (...) ? Pin
Simon Walton17-Feb-02 2:19
Simon Walton17-Feb-02 2:19 
GeneralStatusbars and dialogs Pin
alex.barylski17-Feb-02 1:57
alex.barylski17-Feb-02 1:57 
GeneralSelect All message Pin
16-Feb-02 20:16
suss16-Feb-02 20:16 
GeneralRe: Select All message Pin
Paul M Watt16-Feb-02 20:40
mentorPaul M Watt16-Feb-02 20:40 
GeneralRe: Select All message Pin
Atul Dharne16-Feb-02 20:48
Atul Dharne16-Feb-02 20:48 

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.