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

C / C++ / MFC

 
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 
GeneralRe: Marquee Progess Bar Pin
JM22518-Apr-10 20:31
JM22518-Apr-10 20:31 
GeneralRe: Marquee Progess Bar Pin
Emilio Garavaglia8-Apr-10 21:48
Emilio Garavaglia8-Apr-10 21:48 
GeneralRe: Marquee Progess Bar Pin
Cool_Dev8-Apr-10 22:26
Cool_Dev8-Apr-10 22:26 
GeneralRe: Marquee Progess Bar Pin
Emilio Garavaglia9-Apr-10 3:04
Emilio Garavaglia9-Apr-10 3:04 
GeneralRe: Marquee Progess Bar Pin
Cool_Dev9-Apr-10 3:42
Cool_Dev9-Apr-10 3:42 
QuestionHow to assign Drive Letter to a volume? Pin
Madan Chauhan8-Apr-10 2:21
Madan Chauhan8-Apr-10 2:21 
AnswerRe: How to assign Drive Letter to a volume? Pin
Adam Roderick J8-Apr-10 2:31
Adam Roderick J8-Apr-10 2:31 

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.