Click here to Skip to main content
15,908,013 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Catching messages from remote control Pin
Code-o-mat23-Jan-09 10:26
Code-o-mat23-Jan-09 10:26 
GeneralRe: Catching messages from remote control Pin
mk_423-Jan-09 11:02
mk_423-Jan-09 11:02 
QuestionFolding doxygen comments with Eclipse CDT? Pin
crewchill23-Jan-09 7:14
crewchill23-Jan-09 7:14 
AnswerRe: Folding doxygen comments with Eclipse CDT? Pin
malk0lm23-Jan-09 12:19
malk0lm23-Jan-09 12:19 
GeneralRe: Folding doxygen comments with Eclipse CDT? Pin
crewchill23-Jan-09 18:23
crewchill23-Jan-09 18:23 
QuestionUser drawn tab control in Win32 and XP Pin
Anton11223-Jan-09 7:09
Anton11223-Jan-09 7:09 
AnswerRe: User drawn tab control in Win32 and XP Pin
Code-o-mat23-Jan-09 9:40
Code-o-mat23-Jan-09 9:40 
QuestionRe: User drawn tab control in Win32 and XP Pin
Anton11223-Jan-09 11:08
Anton11223-Jan-09 11:08 
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 
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 
Hi David,

I have to realize that it is too long time ago I wrote code for Windows last.

First, I used GetDC/ReleaseDC to get the DC for WM_PAINT where (I suppose) it should have been BeginPaint/EndPaint.

Second, I used the hWnd entered through the WndProc call for one of the functions and the locally stored m_hWnd for the other. I.e. GetDC(hWnd) ReleaseDC(m_hWnd). I don't hnow if it causes any trouble, but it is not very nice.

Anyway, now I can prevent Windows from drawing the tabs, and the spin control is controlled by Windows (except in the vertical alignment: they are painted but not handled Mad | :mad: ). The remaining problem is that I have to draw the whole tab background by myself. But I expect it to be a relatively small problem.

Best regards
Anton

Anton112

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 

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.