Click here to Skip to main content
15,906,567 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CreateProcess that wont return until program ends Pin
Joaquín M López Muñoz12-Dec-01 6:10
Joaquín M López Muñoz12-Dec-01 6:10 
GeneralRe: CreateProcess that wont return until program ends Pin
Alvaro Mendez12-Dec-01 6:11
Alvaro Mendez12-Dec-01 6:11 
GeneralRe: CreateProcess that wont return until program ends Pin
Ernest Laurentin12-Dec-01 6:18
Ernest Laurentin12-Dec-01 6:18 
GeneralThank you Pin
12-Dec-01 11:12
suss12-Dec-01 11:12 
GeneralWin32 Bitmap Buttons Pin
Mike Doner12-Dec-01 5:35
Mike Doner12-Dec-01 5:35 
GeneralRe: Win32 Bitmap Buttons Pin
Joaquín M López Muñoz12-Dec-01 6:16
Joaquín M López Muñoz12-Dec-01 6:16 
GeneralRe: Win32 Bitmap Buttons Pin
Tim Deveaux12-Dec-01 8:40
Tim Deveaux12-Dec-01 8:40 
GeneralRe: Win32 Bitmap Buttons Pin
Christian Graus12-Dec-01 10:24
protectorChristian Graus12-Dec-01 10:24 
If I read you correctly, you're not using MFC, right ? The way to do this is to make the buttons ownerdrawn, then in the dialog class, in your message loop, handle WM_DRAWITEM. You will need to generate your transparency mask yourself, my article on www.wdj.com ( in the Sep 2001 issue ) shows how to do this.

If your transparent area is always on the edges, you could also use ExtFloodFill on the top left pixel, a much easier solution. You could also do this to the bitmap before passing it to the button, which saves you drawing it yourself.




Christian

After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001

Sonork ID 100.10002:MeanManOz
I live in Bob's HungOut now

GeneralRe: Win32 Bitmap Buttons Pin
PJ Arends12-Dec-01 12:48
professionalPJ Arends12-Dec-01 12:48 
Generalnetworking & sending files Pin
12-Dec-01 4:45
suss12-Dec-01 4:45 
GeneralRe: networking & sending files Pin
Bill Wilson12-Dec-01 13:09
Bill Wilson12-Dec-01 13:09 
GeneralLike pcAnyWhere Pin
The_Server12-Dec-01 3:26
The_Server12-Dec-01 3:26 
GeneralRe: Like pcAnyWhere Pin
Tim Lesher12-Dec-01 3:48
Tim Lesher12-Dec-01 3:48 
GeneralProcessing CStdioFile Pin
Stevieslu12-Dec-01 3:25
Stevieslu12-Dec-01 3:25 
GeneralRe: Processing CStdioFile Pin
#realJSOP12-Dec-01 4:06
professional#realJSOP12-Dec-01 4:06 
GeneralRe: Processing CStdioFile Pin
Stevieslu12-Dec-01 4:20
Stevieslu12-Dec-01 4:20 
GeneralRe: Processing CStdioFile Pin
#realJSOP12-Dec-01 11:24
professional#realJSOP12-Dec-01 11:24 
GeneralRe: Processing CStdioFile Pin
Michael Dunn12-Dec-01 8:49
sitebuilderMichael Dunn12-Dec-01 8:49 
GeneralDatabase Access Without MFC Pin
James Spibey12-Dec-01 3:18
James Spibey12-Dec-01 3:18 
GeneralRe: Database Access Without MFC Pin
Alvaro Mendez12-Dec-01 6:25
Alvaro Mendez12-Dec-01 6:25 
GeneralRe: Database Access Without MFC Pin
Bill Wilson12-Dec-01 13:20
Bill Wilson12-Dec-01 13:20 
GeneralMicrosoft Speech SDK Pin
Rick Crone12-Dec-01 3:12
Rick Crone12-Dec-01 3:12 
GeneralRe: Microsoft Speech SDK Pin
Bill Wilson12-Dec-01 13:23
Bill Wilson12-Dec-01 13:23 
GeneralZ location. Pin
The_Server12-Dec-01 2:26
The_Server12-Dec-01 2:26 
GeneralRe: Z location. Pin
Michael Dunn12-Dec-01 8:51
sitebuilderMichael Dunn12-Dec-01 8:51 

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.