Click here to Skip to main content
15,882,705 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
I have a CFormView where I want to display an image and show some buttons over the image. I get the device context for the view, create a compatible bitmap, use the LPPICTURE Render(*) function to display the image file into the DC, then use BitBlt(*) of CDC to display the image. The buttons are placed onto the form. This kind of works, although if I display another window over the form, or move the cursor into the title bar or the system status bar, all the buttons disappear. I would like to place the buttons dynamically, and tried to use SetWindowPos(*) for one of the buttons. But when I called SetWindowPos(*) for that button, everything (image and other buttons) disappeared. Is there a proper way to display buttons over an image so they don't disappear, and also to do so dynamically?
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 
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 

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.