Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: some problems about listbox control Pin
Parthi_Appu19-Mar-07 21:10
Parthi_Appu19-Mar-07 21:10 
GeneralRe: some problems about listbox control Pin
Chen-XuNuo20-Mar-07 2:27
Chen-XuNuo20-Mar-07 2:27 
GeneralRe: some problems about listbox control Pin
Parthi_Appu20-Mar-07 2:40
Parthi_Appu20-Mar-07 2:40 
GeneralRe: some problems about listbox control Pin
Chen-XuNuo20-Mar-07 3:46
Chen-XuNuo20-Mar-07 3:46 
QuestionHow to move a bitmap from a splitted window to another? Pin
hcygxr200819-Mar-07 16:38
hcygxr200819-Mar-07 16:38 
AnswerRe: How to move a bitmap from a splitted window to another? Pin
Parthi_Appu19-Mar-07 20:39
Parthi_Appu19-Mar-07 20:39 
GeneralRe: How to move a bitmap from a splitted window to another? Pin
hcygxr200826-Mar-07 16:28
hcygxr200826-Mar-07 16:28 
GeneralRe: How to move a bitmap from a splitted window to another? Pin
Parthi_Appu26-Mar-07 17:39
Parthi_Appu26-Mar-07 17:39 
Hope you know what is a custom message, if not refer SendMessage and PostMessage.

You will have a bitmap to draw, so notify the other pane to draw this bitmap if your condition met, you can use GetPane(..) API of splitter control class to get the appropriate window and send custom messages to that window,say hWnd is the handle to the window, that you have to paint the bitmap then
::SendMessage(hWnd, CUSTOM_MGS, wParam, lParam);

wParam and lParam are values that you can pass to the destination window, you can make use these params to send the bitmap information.

Handle the message in the destination window, refer ON_MESSAGE macro for message map entry. Use the bitmap information that you have sent in wParam or lParam and then draw the bitmap.


Do your Duty and Don't expect the Result
Rate this Post, if I helped You

GeneralRe: How to move a bitmap from a splitted window to another? Pin
hcygxr200827-Mar-07 19:18
hcygxr200827-Mar-07 19:18 
Questionerror by system user Pin
hanlei000000000919-Mar-07 16:35
hanlei000000000919-Mar-07 16:35 
Questioncsv parser function needed ? Pin
Software_Specialist19-Mar-07 13:51
Software_Specialist19-Mar-07 13:51 
AnswerRe: csv parser function needed ? Pin
Stephen Hewitt19-Mar-07 15:02
Stephen Hewitt19-Mar-07 15:02 
AnswerRe: csv parser function needed ? [modified] Pin
cp987619-Mar-07 15:02
cp987619-Mar-07 15:02 
AnswerRe: csv parser function needed ? Pin
El Corazon19-Mar-07 15:02
El Corazon19-Mar-07 15:02 
QuestionRe: csv parser function needed ? Pin
David Crow19-Mar-07 15:02
David Crow19-Mar-07 15:02 
AnswerRe: csv parser function needed ? Pin
El Corazon19-Mar-07 15:07
El Corazon19-Mar-07 15:07 
GeneralRe: csv parser function needed ? Pin
David Crow19-Mar-07 15:11
David Crow19-Mar-07 15:11 
Questionopen file in associated application Pin
tiflo19-Mar-07 12:51
tiflo19-Mar-07 12:51 
AnswerRe: open file in associated application Pin
x87Bliss19-Mar-07 12:56
x87Bliss19-Mar-07 12:56 
AnswerRe: open file in associated application Pin
toxcct19-Mar-07 13:10
toxcct19-Mar-07 13:10 
AnswerRe: open file in associated application Pin
tiflo19-Mar-07 22:41
tiflo19-Mar-07 22:41 
AnswerRe: open file in associated application Pin
pri_skit20-Mar-07 1:21
pri_skit20-Mar-07 1:21 
QuestionCRichEditCtrl problem Pin
xtexistenz19-Mar-07 11:43
xtexistenz19-Mar-07 11:43 
AnswerRe: CRichEditCtrl problem Pin
x87Bliss19-Mar-07 12:42
x87Bliss19-Mar-07 12:42 
GeneralRe: CRichEditCtrl problem [modified] Pin
xtexistenz19-Mar-07 12:55
xtexistenz19-Mar-07 12:55 

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.