Click here to Skip to main content
15,900,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to create a process with a different, really restricted user account? Pin
Member 774798412-Mar-11 1:56
Member 774798412-Mar-11 1:56 
AnswerRe: How to create a process with a different, really restricted user account? Pin
Hans Dietrich12-Mar-11 4:57
mentorHans Dietrich12-Mar-11 4:57 
QuestionMove items in ListControl Pin
rjkg11-Mar-11 19:59
rjkg11-Mar-11 19:59 
AnswerRe: Move items in ListControl Pin
Richard MacCutchan11-Mar-11 22:16
mveRichard MacCutchan11-Mar-11 22:16 
GeneralRe: Move items in ListControl Pin
rjkg11-Mar-11 22:44
rjkg11-Mar-11 22:44 
GeneralRe: Move items in ListControl Pin
Richard MacCutchan11-Mar-11 23:15
mveRichard MacCutchan11-Mar-11 23:15 
AnswerRe: Move items in ListControl Pin
Hans Dietrich12-Mar-11 5:23
mentorHans Dietrich12-Mar-11 5:23 
QuestionCannot change the bitmap Pin
leorex11-Mar-11 15:10
leorex11-Mar-11 15:10 
AnswerRe: Cannot change the bitmap Pin
bob1697211-Mar-11 16:36
bob1697211-Mar-11 16:36 
QuestionWM_LBUTTONDBLCLK not being sent? Pin
softwaremonkey11-Mar-11 12:02
softwaremonkey11-Mar-11 12:02 
AnswerRe: WM_LBUTTONDBLCLK not being sent? Pin
Hans Dietrich11-Mar-11 13:19
mentorHans Dietrich11-Mar-11 13:19 
AnswerRe: WM_LBUTTONDBLCLK not being sent? Pin
Joan M12-Mar-11 4:59
professionalJoan M12-Mar-11 4:59 
GeneralRe: WM_LBUTTONDBLCLK not being sent - Solved! Pin
softwaremonkey12-Mar-11 5:48
softwaremonkey12-Mar-11 5:48 
GeneralRe: WM_LBUTTONDBLCLK not being sent - Solved! Pin
Joan M13-Mar-11 22:22
professionalJoan M13-Mar-11 22:22 
GeneralRe: WM_LBUTTONDBLCLK not being sent - Solved! Pin
SledgeHammer0114-Mar-11 11:10
SledgeHammer0114-Mar-11 11:10 
QuestionHelp regarding compiling a library Pin
faheemnadeem11-Mar-11 9:35
faheemnadeem11-Mar-11 9:35 
QuestionWhy does BitBlt not work right? Pin
Kaaib11-Mar-11 9:20
Kaaib11-Mar-11 9:20 
AnswerRe: Why does BitBlt not work right? Pin
Code-o-mat11-Mar-11 9:48
Code-o-mat11-Mar-11 9:48 
Not completely sure what exactly you expect to see, since you only said it doesn't work for you, this could mean a lot of things.
Anyways, when you create a DC, it has a "default", 1 bit,1x1 bitmap selected into it. When you use CreateCompatibleBitmap on this DC, you are creating another bitmap with 1 bit colordepth, i supose that is not what you want. Try creating a compatible bitmap with dc instead of DC.
bm.CreateCompatibleBitmap(&dc,R.right,R.bottom);
Does this work better?
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> //TODO: Implement signature here<

GeneralRe: Why does BitBlt not work right? Pin
Kaaib11-Mar-11 9:54
Kaaib11-Mar-11 9:54 
GeneralRe: Why does BitBlt not work right? Pin
Code-o-mat11-Mar-11 9:56
Code-o-mat11-Mar-11 9:56 
GeneralRe: Why does BitBlt not work right? Pin
Kaaib11-Mar-11 12:24
Kaaib11-Mar-11 12:24 
QuestionTransparent window Pin
csrss11-Mar-11 8:39
csrss11-Mar-11 8:39 
AnswerRe: Transparent window Pin
csrss11-Mar-11 9:15
csrss11-Mar-11 9:15 
GeneralRe: Transparent window Pin
Richard MacCutchan11-Mar-11 22:08
mveRichard MacCutchan11-Mar-11 22:08 
QuestionHow can I know which item is selected ? [modified] Pin
_Flaviu11-Mar-11 8:01
_Flaviu11-Mar-11 8:01 

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.