Click here to Skip to main content
15,896,557 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: User drawn tab control in Win32 and XP Pin
Code-o-mat23-Jan-09 11:22
Code-o-mat23-Jan-09 11:22 
GeneralRe: User drawn tab control in Win32 and XP Pin
Anton11223-Jan-09 11:27
Anton11223-Jan-09 11:27 
GeneralRe: User drawn tab control in Win32 and XP Pin
Code-o-mat23-Jan-09 11:43
Code-o-mat23-Jan-09 11:43 
AnswerRe: User drawn tab control in Win32 and XP Pin
Anton11224-Jan-09 5:44
Anton11224-Jan-09 5:44 
AnswerRe: User drawn tab control in Win32 and XP Pin
Randor 23-Jan-09 14:23
professional Randor 23-Jan-09 14:23 
General[Message Deleted] Pin
ZelionThunder24-Jan-09 4:24
ZelionThunder24-Jan-09 4:24 
QuestionRe: User drawn tab control in Win32 and XP Pin
Anton11224-Jan-09 5:41
Anton11224-Jan-09 5:41 
QuestionRe: User drawn tab control in Win32 and XP Pin
Anton11224-Jan-09 5:40
Anton11224-Jan-09 5:40 
Hi David, and thanks for your interest.

I have analysed my problem a bit more. WM_DRAWITEM is not sent at all. WM_ERASEBKGND is sent only upon repaint of the application (focus changed, window rezise etc.). If I add return 0; to WM_PAINT, Windows stops updating the tabs, but the application is not updated either. By adding a flag to control WM_PAINT when the mouse is within the tab area (WM_MOUSEMOVE and WM_MOUSELEAVE) I can override Windows update, but only as long as the mouse is within the tab area.

Do you have other ideas to which events I could respond?

Kind regards

Anton112

AnswerRe: User drawn tab control in Win32 and XP Pin
Randor 24-Jan-09 9:45
professional Randor 24-Jan-09 9:45 
AnswerRe: User drawn tab control in Win32 and XP Pin
Anton11225-Jan-09 11:18
Anton11225-Jan-09 11:18 
QuestionGet text from the focused control in another window Pin
nc3b23-Jan-09 5:19
nc3b23-Jan-09 5:19 
QuestionRe: Get text from the focused control in another window Pin
David Crow23-Jan-09 6:06
David Crow23-Jan-09 6:06 
AnswerRe: Get text from the focused control in another window Pin
nc3b23-Jan-09 6:07
nc3b23-Jan-09 6:07 
QuestionRe: Get text from the focused control in another window Pin
David Crow23-Jan-09 6:10
David Crow23-Jan-09 6:10 
AnswerRe: Get text from the focused control in another window Pin
nc3b23-Jan-09 6:14
nc3b23-Jan-09 6:14 
GeneralRe: Get text from the focused control in another window Pin
David Crow23-Jan-09 6:21
David Crow23-Jan-09 6:21 
GeneralRe: Get text from the focused control in another window Pin
nc3b23-Jan-09 6:24
nc3b23-Jan-09 6:24 
GeneralRe: Get text from the focused control in another window Pin
Rajkumar R23-Jan-09 8:08
Rajkumar R23-Jan-09 8:08 
GeneralRe: Get text from the focused control in another window Pin
nc3b23-Jan-09 8:10
nc3b23-Jan-09 8:10 
AnswerRe: Get text from the focused control in another window Pin
Code-o-mat23-Jan-09 6:12
Code-o-mat23-Jan-09 6:12 
QuestionTemplate parameter interpreted as base, not derived Pin
Member 260377223-Jan-09 4:59
Member 260377223-Jan-09 4:59 
AnswerRe: Template parameter interpreted as base, not derived Pin
Stuart Dootson23-Jan-09 6:40
professionalStuart Dootson23-Jan-09 6:40 
GeneralRe: Template parameter interpreted as base, not derived Pin
Member 260377223-Jan-09 7:12
Member 260377223-Jan-09 7:12 
GeneralRe: Template parameter interpreted as base, not derived Pin
Stuart Dootson23-Jan-09 8:16
professionalStuart Dootson23-Jan-09 8:16 
AnswerRe: Template parameter interpreted as base, not derived [modified] Pin
Rajkumar R23-Jan-09 7:02
Rajkumar R23-Jan-09 7:02 

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.