Click here to Skip to main content
15,886,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionplaying sound Pin
hamidreza_buddy20-Sep-05 21:13
hamidreza_buddy20-Sep-05 21:13 
AnswerRe: playing sound Pin
Neagoe Gabriel20-Sep-05 21:38
Neagoe Gabriel20-Sep-05 21:38 
Questioncapturing bitmap and print Pin
a_david12320-Sep-05 21:05
a_david12320-Sep-05 21:05 
AnswerRe: capturing bitmap and print Pin
Neagoe Gabriel20-Sep-05 21:36
Neagoe Gabriel20-Sep-05 21:36 
QuestionDrawFocusRect Pin
Nishad S20-Sep-05 19:25
Nishad S20-Sep-05 19:25 
AnswerRe: DrawFocusRect Pin
Johann Gerell20-Sep-05 19:37
Johann Gerell20-Sep-05 19:37 
GeneralRe: DrawFocusRect Pin
Nishad S20-Sep-05 21:31
Nishad S20-Sep-05 21:31 
GeneralRe: DrawFocusRect Pin
Johann Gerell20-Sep-05 22:33
Johann Gerell20-Sep-05 22:33 
Nishad S wrote:
If I change the system color, it will also affect the buttons that do not have owner draw style

Of course. But ::DrawFocusRect is a Win32 API, and as such it'll use the system colors (I don't bet on it - it might just XOR black with the HDC pixels). So, if it doesn't do what you want, don't use it.

Nishad S wrote:
Is there any other methods?

Draw the rectangle yourself, of course.

--
The Blog: Bits and Pieces

-- modified at 4:33 Wednesday 21st September, 2005
GeneralRe: DrawFocusRect Pin
Nishad S20-Sep-05 22:44
Nishad S20-Sep-05 22:44 
GeneralRe: DrawFocusRect Pin
Johann Gerell20-Sep-05 23:05
Johann Gerell20-Sep-05 23:05 
QuestionRe: DrawFocusRect Pin
Nishad S20-Sep-05 23:14
Nishad S20-Sep-05 23:14 
QuestionLoading a Resource Pin
Anonymous20-Sep-05 19:05
Anonymous20-Sep-05 19:05 
AnswerRe: Loading a Resource Pin
Johann Gerell20-Sep-05 19:33
Johann Gerell20-Sep-05 19:33 
Questionmewtocol format programming Pin
jyhhaur20-Sep-05 17:24
sussjyhhaur20-Sep-05 17:24 
QuestionPrivate memory usage Pin
jimmiejams20-Sep-05 15:27
jimmiejams20-Sep-05 15:27 
AnswerRe: Private memory usage Pin
Blake Miller20-Sep-05 16:00
Blake Miller20-Sep-05 16:00 
GeneralRe: Private memory usage Pin
jimmiejams20-Sep-05 16:20
jimmiejams20-Sep-05 16:20 
GeneralRe: Private memory usage Pin
ThatsAlok20-Sep-05 18:59
ThatsAlok20-Sep-05 18:59 
GeneralRe: Private memory usage Pin
Blake Miller21-Sep-05 4:07
Blake Miller21-Sep-05 4:07 
Questioncommand message Pin
Member 216100420-Sep-05 15:04
Member 216100420-Sep-05 15:04 
AnswerRe: command message Pin
John R. Shaw20-Sep-05 23:49
John R. Shaw20-Sep-05 23:49 
QuestionModeless Dialog Box Pin
suzie10020-Sep-05 14:19
suzie10020-Sep-05 14:19 
AnswerRe: Modeless Dialog Box Pin
Christian Graus20-Sep-05 14:23
protectorChristian Graus20-Sep-05 14:23 
AnswerRe: Modeless Dialog Box Pin
Shog920-Sep-05 18:14
sitebuilderShog920-Sep-05 18:14 
QuestionWriting/Reading Large files Pin
Jenleonard20-Sep-05 13:56
Jenleonard20-Sep-05 13:56 

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.