Click here to Skip to main content
15,887,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Clear text from a device context. Pin
Mark Salsbery12-Dec-07 6:30
Mark Salsbery12-Dec-07 6:30 
GeneralRe: Clear text from a device context. Pin
Mr Simple12-Dec-07 7:12
Mr Simple12-Dec-07 7:12 
GeneralRe: Clear text from a device context. Pin
Mark Salsbery12-Dec-07 7:31
Mark Salsbery12-Dec-07 7:31 
GeneralRe: Clear text from a device context. Pin
Mr Simple12-Dec-07 22:43
Mr Simple12-Dec-07 22:43 
GeneralRe: Clear text from a device context. Pin
Mark Salsbery13-Dec-07 5:48
Mark Salsbery13-Dec-07 5:48 
GeneralRe: Clear text from a device context. Pin
Mr Simple13-Dec-07 6:33
Mr Simple13-Dec-07 6:33 
GeneralRe: Clear text from a device context. Pin
Mark Salsbery13-Dec-07 7:44
Mark Salsbery13-Dec-07 7:44 
GeneralRe: Clear text from a device context. Pin
Mr Simple14-Dec-07 1:22
Mr Simple14-Dec-07 1:22 
Hello,

The only major difference is that I am not using CImage, as I need to be able to TransparentBlt which I have been told there are problems with on WinCE. I converted your code closer to my existing (using CBitmap, transparency, removing erase bkground) and it worked great. Then I made my existing code practically idential, and it still didn't work Frown | :-(

The only thing I can find different is the way I create the window. I have a method in the class called "CreateFloaterWnd" (parent as parameter) which loads the bitmap, gets it's size, then calls CWnd::CreateEx, positioning itself relative to the parent's X/Y location.

I will try to convert it to use a dialog and see what happens. I still dont understand how this could be the problem though.

Thank you very much for your effort!!
MS.
GeneralRe: Clear text from a device context. Pin
Mark Salsbery14-Dec-07 4:47
Mark Salsbery14-Dec-07 4:47 
GeneralRe: Clear text from a device context. Pin
Mr Simple14-Dec-07 6:58
Mr Simple14-Dec-07 6:58 
GeneralRe: Clear text from a device context. Pin
Mark Salsbery14-Dec-07 8:52
Mark Salsbery14-Dec-07 8:52 
GeneralRe: Clear text from a device context. Pin
Mr Simple16-Dec-07 22:12
Mr Simple16-Dec-07 22:12 
GeneralRe: Clear text from a device context. Pin
Mark Salsbery17-Dec-07 5:50
Mark Salsbery17-Dec-07 5:50 
GeneralRe: Clear text from a device context. Pin
Mr Simple19-Dec-07 2:08
Mr Simple19-Dec-07 2:08 
GeneralRe: Clear text from a device context. Pin
Mark Salsbery19-Dec-07 6:14
Mark Salsbery19-Dec-07 6:14 
GeneralRe: Clear text from a device context. Pin
led mike12-Dec-07 7:47
led mike12-Dec-07 7:47 
GeneralRe: Clear text from a device context. Pin
Mark Salsbery12-Dec-07 7:58
Mark Salsbery12-Dec-07 7:58 
GeneralRe: Clear text from a device context. Pin
Nelek12-Dec-07 3:14
protectorNelek12-Dec-07 3:14 
QuestionUsing SendVirtualKey method? Pin
Benny_Lava12-Dec-07 1:03
Benny_Lava12-Dec-07 1:03 
GeneralMulti column combo box Pin
panthal12-Dec-07 0:33
panthal12-Dec-07 0:33 
QuestionRe: Multi column combo box Pin
Mark Salsbery12-Dec-07 6:33
Mark Salsbery12-Dec-07 6:33 
GeneralRe: Multi column combo box Pin
David Crow13-Dec-07 4:52
David Crow13-Dec-07 4:52 
GeneralRe: Multi column combo box Pin
Mark Salsbery13-Dec-07 5:49
Mark Salsbery13-Dec-07 5:49 
Questionhow the macro works Pin
George_George12-Dec-07 0:03
George_George12-Dec-07 0:03 
AnswerRe: how the macro works Pin
CPallini12-Dec-07 0:35
mveCPallini12-Dec-07 0:35 

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.