Click here to Skip to main content
15,897,519 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralActiveXScripting Pin
dittygrail16-Jun-05 2:22
dittygrail16-Jun-05 2:22 
GeneralAdding image view capability to control bar Pin
MFCRookie16-Jun-05 2:09
MFCRookie16-Jun-05 2:09 
GeneralContext Sensitive help for Edit Box Pin
topagarwal16-Jun-05 0:46
topagarwal16-Jun-05 0:46 
GeneralRe: Context Sensitive help for Edit Box Pin
samit116-Jun-05 1:24
samit116-Jun-05 1:24 
Questionhow to create a temporary DC using ATL without a Parent Window? Pin
ThinkingPrometheus16-Jun-05 0:43
ThinkingPrometheus16-Jun-05 0:43 
AnswerRe: how to create a temporary DC using ATL without a Parent Window? Pin
Bob Stanneveld16-Jun-05 1:13
Bob Stanneveld16-Jun-05 1:13 
GeneralRe: how to create a temporary DC using ATL without a Parent Window? Pin
ThinkingPrometheus16-Jun-05 3:04
ThinkingPrometheus16-Jun-05 3:04 
GeneralRe: how to create a temporary DC using ATL without a Parent Window? Pin
Bob Stanneveld16-Jun-05 3:17
Bob Stanneveld16-Jun-05 3:17 
ThinkingPrometheus wrote:
1. how do i know if the window has a DC?

All windows have a DC, as long as they are visible. I don't know if they have a DC when they are invisible.

ThinkingPrometheus wrote:
2. how do i check if hbmp is already selected? (hmm, i don't think it is, but how do i check, just to be sure?)

From where do you get the handle? I think the problem lies there, since all the other windows and dc's should be valid.
You can validate this by loading your own bitmap from disk and see what that gives you.

Behind every great black man...
            ... is the police. - Conspiracy brother


Blog[^]
Questionconvert Variant to CString? Pin
ThinkingPrometheus15-Jun-05 23:08
ThinkingPrometheus15-Jun-05 23:08 
AnswerRe: convert Variant to CString? Pin
Graham Bradshaw15-Jun-05 23:18
Graham Bradshaw15-Jun-05 23:18 
AnswerRe: convert Variant to CString? Pin
Nilesh K.15-Jun-05 23:21
Nilesh K.15-Jun-05 23:21 
GeneralRe: convert Variant to CString? Pin
ThinkingPrometheus15-Jun-05 23:51
ThinkingPrometheus15-Jun-05 23:51 
AnswerRe: convert Variant to CString? Pin
Anonymous16-Jun-05 0:09
Anonymous16-Jun-05 0:09 
AnswerRe: convert Variant to CString? Pin
James R. Twine16-Jun-05 8:34
James R. Twine16-Jun-05 8:34 
GeneralSent data from Doc to dialog Pin
mafuza15-Jun-05 22:58
mafuza15-Jun-05 22:58 
GeneralRe: Sent data from Doc to dialog Pin
Nilesh K.15-Jun-05 23:17
Nilesh K.15-Jun-05 23:17 
GeneralRe: Sent data from Doc to dialog Pin
mafuza21-Jun-05 17:21
mafuza21-Jun-05 17:21 
GeneralRe: Sent data from Doc to dialog Pin
Nilesh K.21-Jun-05 17:50
Nilesh K.21-Jun-05 17:50 
GeneralPicture on dialog based application Pin
Rostfrei15-Jun-05 22:48
Rostfrei15-Jun-05 22:48 
GeneralRe: Picture on dialog based application Pin
Nilesh K.15-Jun-05 23:06
Nilesh K.15-Jun-05 23:06 
GeneralRe: Picture on dialog based application Pin
Rostfrei15-Jun-05 23:32
Rostfrei15-Jun-05 23:32 
GeneralRe: Picture on dialog based application Pin
toxcct16-Jun-05 0:14
toxcct16-Jun-05 0:14 
GeneralRe: Picture on dialog based application Pin
Nilesh K.16-Jun-05 0:45
Nilesh K.16-Jun-05 0:45 
QuestionHow to set TicFreq in a dialog box? Pls Help Pin
Member 191502415-Jun-05 22:25
Member 191502415-Jun-05 22:25 
AnswerRe: How to set TicFreq in a dialog box? Pls Help Pin
RChin15-Jun-05 22:42
RChin15-Jun-05 22:42 

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.