Click here to Skip to main content
15,924,317 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: About Mfc??? Pin
Cedric Moonen13-Feb-07 20:09
Cedric Moonen13-Feb-07 20:09 
AnswerRe: About Mfc??? [modified] Pin
toxcct13-Feb-07 22:11
toxcct13-Feb-07 22:11 
GeneralRe: About Mfc??? Pin
David Crow14-Feb-07 2:53
David Crow14-Feb-07 2:53 
GeneralRe: About Mfc??? Pin
toxcct14-Feb-07 2:54
toxcct14-Feb-07 2:54 
AnswerRe: About Mfc??? Pin
Hamid_RT14-Feb-07 7:07
Hamid_RT14-Feb-07 7:07 
QuestionA tab control with a Close (x) button for each Tab ? Pin
erajsri13-Feb-07 18:33
erajsri13-Feb-07 18:33 
AnswerRe: A tab control with a Close (x) button for each Tab ? Pin
Nibu babu thomas13-Feb-07 18:59
Nibu babu thomas13-Feb-07 18:59 
AnswerRe: A tab control with a Close (x) button for each Tab ? [modified] Pin
Naveen13-Feb-07 18:59
Naveen13-Feb-07 18:59 
First you need to draw the tab by your self( so that you can draw a close button in the tab item )
In the WM_LBUTTONDOWN message of the tab ctrl find the tab item below it using the HitTest() function.
Check the clicked point is inside the close button you drawn. If so do the action for close.


nave

GeneralRe: A tab control with a Close (x) button for each Tab ? Pin
erajsri13-Feb-07 19:23
erajsri13-Feb-07 19:23 
GeneralRe: A tab control with a Close (x) button for each Tab ? Pin
Naveen13-Feb-07 19:33
Naveen13-Feb-07 19:33 
GeneralRe: A tab control with a Close (x) button for each Tab ? Pin
erajsri13-Feb-07 23:16
erajsri13-Feb-07 23:16 
GeneralRe: A tab control with a Close (x) button for each Tab ? Pin
Naveen13-Feb-07 23:19
Naveen13-Feb-07 23:19 
GeneralRe: A tab control with a Close (x) button for each Tab ? Pin
erajsri13-Feb-07 23:48
erajsri13-Feb-07 23:48 
GeneralRe: A tab control with a Close (x) button for each Tab ? Pin
Mark Salsbery14-Feb-07 6:36
Mark Salsbery14-Feb-07 6:36 
QuestionTo create a popup menu Pin
see me13-Feb-07 16:29
see me13-Feb-07 16:29 
AnswerRe: To create a popup menu Pin
Nibu babu thomas13-Feb-07 17:07
Nibu babu thomas13-Feb-07 17:07 
AnswerRe: To create a popup menu Pin
Hamid_RT13-Feb-07 17:21
Hamid_RT13-Feb-07 17:21 
QuestionStarmenu Pin
Perestroyka13-Feb-07 14:29
Perestroyka13-Feb-07 14:29 
QuestionRe: Starmenu Pin
David Crow14-Feb-07 3:05
David Crow14-Feb-07 3:05 
AnswerRe: Starmenu Pin
Perestroyka15-Feb-07 10:26
Perestroyka15-Feb-07 10:26 
GeneralRe: Starmenu Pin
David Crow15-Feb-07 10:32
David Crow15-Feb-07 10:32 
GeneralRe: Starmenu [modified] Pin
Perestroyka15-Feb-07 11:37
Perestroyka15-Feb-07 11:37 
QuestionRe: Starmenu Pin
David Crow15-Feb-07 15:03
David Crow15-Feb-07 15:03 
AnswerRe: Starmenu Pin
Perestroyka16-Feb-07 0:34
Perestroyka16-Feb-07 0:34 
GeneralRe: Starmenu Pin
David Crow16-Feb-07 2:39
David Crow16-Feb-07 2: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.