Click here to Skip to main content
15,921,279 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: vector math on different pc processors (amd, intel) Pin
Mediate1-Apr-04 23:18
Mediate1-Apr-04 23:18 
Generalsubst programatically Pin
bruno leclerc31-Mar-04 22:30
bruno leclerc31-Mar-04 22:30 
GeneralRe: subst programatically Pin
David Crow1-Apr-04 3:27
David Crow1-Apr-04 3:27 
GeneralRe: subst programatically Pin
bruno leclerc1-Apr-04 21:08
bruno leclerc1-Apr-04 21:08 
Generalinternet explorer address bar Pin
Anonymous31-Mar-04 20:47
Anonymous31-Mar-04 20:47 
GeneralRe: internet explorer address bar Pin
22491731-Mar-04 23:12
22491731-Mar-04 23:12 
GeneralRe: internet explorer address bar Pin
Anonymous1-Apr-04 20:27
Anonymous1-Apr-04 20:27 
Generalcontinious monitoring of process Pin
Anonymous31-Mar-04 20:44
Anonymous31-Mar-04 20:44 
GeneralRe: continious monitoring of process Pin
22491731-Mar-04 23:10
22491731-Mar-04 23:10 
GeneralMFC icon Pin
catngo31-Mar-04 20:30
catngo31-Mar-04 20:30 
GeneralRe: MFC icon Pin
iceage31-Mar-04 20:42
iceage31-Mar-04 20:42 
GeneralRe: MFC icon Pin
catngo31-Mar-04 20:47
catngo31-Mar-04 20:47 
GeneralRe: MFC icon Pin
Rick York31-Mar-04 21:39
mveRick York31-Mar-04 21:39 
GeneralRe: MFC icon Pin
Anonymous1-Apr-04 1:53
Anonymous1-Apr-04 1:53 
GeneralRe: MFC icon Pin
catngo1-Apr-04 4:40
catngo1-Apr-04 4:40 
GeneralRe: MFC icon Pin
David Crow1-Apr-04 3:29
David Crow1-Apr-04 3:29 
Generalhidding splitter windows Pin
fatimah31-Mar-04 18:33
fatimah31-Mar-04 18:33 
GeneralRe: hidding splitter windows Pin
David Crow1-Apr-04 3:33
David Crow1-Apr-04 3:33 
GeneralTransparent Text to bitmap Pin
Neha31-Mar-04 17:15
Neha31-Mar-04 17:15 
GeneralRe: Transparent Text to bitmap Pin
John R. Shaw31-Mar-04 21:33
John R. Shaw31-Mar-04 21:33 
The wording of you question needs work, but here is what you need.
SetBkMode(TRANSPARENT); (the text is drawn without drawing background).

If you need to be able to move the text around via draging then you will have to create a compatible bitmap of the appropriate size and draw the text on it then drag the bitmap around on top of whatever bitmap you are placing it on. In which case you will need to use the functions: GetTextExtent (to determine the size of the bitmap to create before drawing to it) and TransparentBlt (NT/Windows 2000) or some other method for drawing doing transparent blits. An example of one way to do transparent blits is in the code provided in CDibData and another in the MSDN library.

Good luck!

INTP
Questionhow to store image to SQL SERVER and get from it? (vc6.0,ado) Pin
cococut31-Mar-04 15:54
cococut31-Mar-04 15:54 
AnswerRe: how to store image to SQL SERVER and get from it? (vc6.0,ado) Pin
Mike Dimmick31-Mar-04 22:14
Mike Dimmick31-Mar-04 22:14 
GeneralRe: how to store image to SQL SERVER and get from it? (vc6.0,ado) Pin
cococut1-Apr-04 14:35
cococut1-Apr-04 14:35 
GeneralReturning WCHAR* variable; Pin
Bo Hunter31-Mar-04 15:50
Bo Hunter31-Mar-04 15:50 
GeneralRe: Returning WCHAR* variable; Pin
Tim Smith31-Mar-04 16:06
Tim Smith31-Mar-04 16:06 

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.