Click here to Skip to main content
15,892,575 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: LPWSTR / Win32 Pin
Eugen Podsypalnikov8-Apr-10 23:09
Eugen Podsypalnikov8-Apr-10 23:09 
GeneralRe: LPWSTR / Win32 Pin
Fareed Rizkalla8-Apr-10 23:25
Fareed Rizkalla8-Apr-10 23:25 
GeneralRe: LPWSTR / Win32 Pin
Eugen Podsypalnikov8-Apr-10 23:32
Eugen Podsypalnikov8-Apr-10 23:32 
GeneralRe: LPWSTR / Win32 Pin
Fareed Rizkalla9-Apr-10 13:32
Fareed Rizkalla9-Apr-10 13:32 
GeneralRe: LPWSTR / Win32 Pin
Joe Woodbury9-Apr-10 5:38
professionalJoe Woodbury9-Apr-10 5:38 
Questionhow to use multiThread to read and write database? Pin
caiguosen8-Apr-10 5:47
caiguosen8-Apr-10 5:47 
AnswerRe: how to use multiThread to read and write database? Pin
CPallini8-Apr-10 9:38
mveCPallini8-Apr-10 9:38 
QuestionRe: how to use multiThread to read and write database? Pin
David Crow9-Apr-10 3:21
David Crow9-Apr-10 3:21 
AnswerRe: how to use multiThread to read and write database? Pin
caiguosen10-Apr-10 1:42
caiguosen10-Apr-10 1:42 
QuestionRe: how to use multiThread to read and write database? Pin
David Crow12-Apr-10 2:51
David Crow12-Apr-10 2:51 
Questionhow to properly display buttons over an image Pin
genush8-Apr-10 5:38
genush8-Apr-10 5:38 
AnswerRe: how to properly display buttons over an image Pin
Fareed Rizkalla8-Apr-10 7:23
Fareed Rizkalla8-Apr-10 7:23 
GeneralRe: how to properly display buttons over an image Pin
genush8-Apr-10 11:50
genush8-Apr-10 11:50 
AnswerRe: how to properly display buttons over an image Pin
Eugen Podsypalnikov8-Apr-10 9:03
Eugen Podsypalnikov8-Apr-10 9:03 
GeneralRe: how to properly display buttons over an image Pin
genush8-Apr-10 10:16
genush8-Apr-10 10:16 
I call the functions to draw in the OnDraw(CDC* pDC) function of the CFormView

The buttons are put on the form with the resource editor, then I assigned names with class wizard.

The image is displayed correctly so it looks like the image is overwriting the buttons.

Interestingly, when the cursor is moved to the title bar, the OnDraw gets called, and the buttons disappear. I put in code to detect when the cursor is in the title bar and call Invalidate() in the form to cause OnDraw to be called again, then the buttons are displayed.
GeneralRe: how to properly display buttons over an image Pin
Eugen Podsypalnikov8-Apr-10 11:06
Eugen Podsypalnikov8-Apr-10 11:06 
GeneralRe: how to properly display buttons over an image Pin
genush8-Apr-10 11:11
genush8-Apr-10 11:11 
GeneralRe: how to properly display buttons over an image Pin
genush8-Apr-10 11:43
genush8-Apr-10 11:43 
GeneralRe: how to properly display buttons over an image Pin
Eugen Podsypalnikov8-Apr-10 20:04
Eugen Podsypalnikov8-Apr-10 20:04 
GeneralRe: how to properly display buttons over an image Pin
genush9-Apr-10 4:07
genush9-Apr-10 4:07 
QuestionHow to add copy and paste functionality for CListCtrl Pin
yvanc8-Apr-10 4:31
yvanc8-Apr-10 4:31 
AnswerRe: How to add copy and paste functionality for CListCtrl Pin
eusto8-Apr-10 7:48
eusto8-Apr-10 7:48 
QuestionMarquee Progess Bar Pin
JM22518-Apr-10 3:40
JM22518-Apr-10 3:40 
AnswerRe: Marquee Progess Bar Pin
Nuri Ismail8-Apr-10 4:05
Nuri Ismail8-Apr-10 4:05 
AnswerRe: Marquee Progess Bar Pin
Cool_Dev8-Apr-10 4:20
Cool_Dev8-Apr-10 4:20 

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.