Click here to Skip to main content
15,922,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Capturing the event Pin
Ramu Pulipati26-Jun-02 18:32
Ramu Pulipati26-Jun-02 18:32 
Generalm_hWnd Pin
Anthony988726-Jun-02 9:08
Anthony988726-Jun-02 9:08 
GeneralRe: m_hWnd Pin
Joaquín M López Muñoz26-Jun-02 9:32
Joaquín M López Muñoz26-Jun-02 9:32 
GeneralData Transfer: DLL -> VB (UDT Array with Strings) Pin
Ryan B.26-Jun-02 8:58
Ryan B.26-Jun-02 8:58 
GeneralDialogue Bitmaps Pin
EBerlin26-Jun-02 8:52
EBerlin26-Jun-02 8:52 
GeneralRe: Dialogue Bitmaps Pin
Christian Graus26-Jun-02 12:12
protectorChristian Graus26-Jun-02 12:12 
GeneralRe: Dialogue Bitmaps Pin
EBerlin27-Jun-02 7:09
EBerlin27-Jun-02 7:09 
GeneralRe: Dialogue Bitmaps Pin
Christian Graus27-Jun-02 11:07
protectorChristian Graus27-Jun-02 11:07 
EBerlin wrote:
So make a local var of type CBitmap then map "double left click" and in that function use the CPoints X, Y coordinates and draw the bitmap at that location.

No, you need to store the location as well, so it gets redrawn when the window gets moved, etc.

EBerlin wrote:
Using the bitmap, (and I think DC mem as well) how do I think display the bitmap?

In OnEraseDC, call the base method first, then draw the bitmap. Yes, you'll need a memDC to hold the bitmap while drawing

EBerlin wrote:
Do you have a link to some sample code I could look at?

Sorry, no. But if you give that a go and get stuck, I'm happy to help.


Christian

I am completely intolerant of stupidity. Stupidity is, of course, anything that doesn't conform to my way of thinking. - Jamie Hale - 29/05/2002

Half the reason people switch away from VB is to find out what actually goes on.. and then like me they find out that they weren't quite as good as they thought - they've been nannied. - Alex, 13 June 2002
GeneralOutlook Express data format Pin
Mike_Beard26-Jun-02 8:14
Mike_Beard26-Jun-02 8:14 
GeneralRe: Outlook Express data format Pin
Ramu Pulipati26-Jun-02 8:22
Ramu Pulipati26-Jun-02 8:22 
GeneralRe: Outlook Express data format Pin
Mike_Beard26-Jun-02 10:16
Mike_Beard26-Jun-02 10:16 
GeneralRe: Outlook Express data format Pin
Chris Losinger26-Jun-02 8:27
professionalChris Losinger26-Jun-02 8:27 
GeneralRe: Outlook Express data format Pin
Mike_Beard26-Jun-02 10:13
Mike_Beard26-Jun-02 10:13 
GeneralRe: Outlook Express data format Pin
Ernest Laurentin26-Jun-02 8:58
Ernest Laurentin26-Jun-02 8:58 
GeneralRe: Outlook Express data format Pin
Mike_Beard26-Jun-02 10:05
Mike_Beard26-Jun-02 10:05 
GeneralCryptic Error popup Pin
Jerry Wang26-Jun-02 7:56
Jerry Wang26-Jun-02 7:56 
GeneralRe: Cryptic Error popup Pin
Ramu Pulipati26-Jun-02 8:20
Ramu Pulipati26-Jun-02 8:20 
GeneralRe: Cryptic Error popup Pin
Jerry Wang26-Jun-02 9:25
Jerry Wang26-Jun-02 9:25 
QuestionSTL ? Pin
Rage26-Jun-02 7:38
professionalRage26-Jun-02 7:38 
AnswerRe: STL ? Pin
Joaquín M López Muñoz26-Jun-02 8:33
Joaquín M López Muñoz26-Jun-02 8:33 
GeneralRe: STL ? Pin
Rage26-Jun-02 21:48
professionalRage26-Jun-02 21:48 
QuestionCan you use a template class member variable within a template class? Pin
26-Jun-02 6:56
suss26-Jun-02 6:56 
AnswerRe: Can you use a template class member variable within a template class? Pin
Chris Losinger26-Jun-02 7:04
professionalChris Losinger26-Jun-02 7:04 
GeneralRe: Can you use a template class member variable within a template class? Pin
26-Jun-02 7:05
suss26-Jun-02 7:05 
AnswerRe: Can you use a template class member variable within a template class? Pin
Joaquín M López Muñoz26-Jun-02 7:05
Joaquín M López Muñoz26-Jun-02 7:05 

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.