Click here to Skip to main content
15,907,326 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Suspend ShellExcuteEx Pin
Orion Star2-Apr-10 4:13
Orion Star2-Apr-10 4:13 
GeneralRe: Suspend ShellExcuteEx Pin
Adam Roderick J2-Apr-10 5:11
Adam Roderick J2-Apr-10 5:11 
GeneralRe: Suspend ShellExcuteEx Pin
Orion Star2-Apr-10 9:35
Orion Star2-Apr-10 9:35 
QuestionWindows 7 JumpLists! Pin
Fareed Rizkalla1-Apr-10 8:28
Fareed Rizkalla1-Apr-10 8:28 
QuestionWin32/GDI+ - Using a transparent PNG image as window background Pin
Member 38216201-Apr-10 8:24
Member 38216201-Apr-10 8:24 
AnswerRe: Win32/GDI+ - Using a transparent PNG image as window background Pin
Code-o-mat1-Apr-10 8:52
Code-o-mat1-Apr-10 8:52 
GeneralRe: Win32/GDI+ - Using a transparent PNG image as window background Pin
Member 38216201-Apr-10 8:58
Member 38216201-Apr-10 8:58 
GeneralRe: Win32/GDI+ - Using a transparent PNG image as window background Pin
Code-o-mat1-Apr-10 9:06
Code-o-mat1-Apr-10 9:06 
Well, if you use layered windows you have to draw (and possible also handle) controls yourself. As far as i know there's no safe, reliable way to do what you want to do (i mean the way you are trying to do it). An alternative can be using Window regions[^], you can use these with windows displaying normal controls BUT this does not give you a nice look, it just lets you clip the window to some shape, but you can't nicely antialias the window for example. Another way would be combining a layered window and a non-layered window. The layered part would contain the transparent parts and the non-layered part would contain the controls, you would need to keep the Z-Order and visibility state synchrnoized between the two types of windows. It is probably a pain in the ass to implement correctly but it can be done.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Sometimes you just have to hate coding to do it well. <

GeneralRe: Win32/GDI+ - Using a transparent PNG image as window background Pin
Member 38216201-Apr-10 9:33
Member 38216201-Apr-10 9:33 
GeneralRe: Win32/GDI+ - Using a transparent PNG image as window background Pin
LunaticFringe1-Apr-10 11:13
LunaticFringe1-Apr-10 11:13 
GeneralRe: Win32/GDI+ - Using a transparent PNG image as window background Pin
Member 38216201-Apr-10 13:06
Member 38216201-Apr-10 13:06 
GeneralRe: Win32/GDI+ - Using a transparent PNG image as window background Pin
LunaticFringe1-Apr-10 13:23
LunaticFringe1-Apr-10 13:23 
GeneralRe: Win32/GDI+ - Using a transparent PNG image as window background Pin
Code-o-mat1-Apr-10 21:35
Code-o-mat1-Apr-10 21:35 
QuestionA joke on C Pin
Edward10261-Apr-10 7:57
Edward10261-Apr-10 7:57 
AnswerRe: A joke on C Pin
CPallini1-Apr-10 8:10
mveCPallini1-Apr-10 8:10 
QuestionHow to do function with timout & getting message properly ? Pin
oppstp1-Apr-10 7:42
oppstp1-Apr-10 7:42 
QuestionRe: How to do function with timout & getting message properly ? Pin
David Crow1-Apr-10 8:15
David Crow1-Apr-10 8:15 
AnswerRe: How to do function with timout & getting message properly ? Pin
oppstp1-Apr-10 15:06
oppstp1-Apr-10 15:06 
QuestionPicture Control with scroll bars. PinPopular
ashwath19791-Apr-10 5:02
ashwath19791-Apr-10 5:02 
QuestionC++ Thousand Separators Pin
awesometrickycool1-Apr-10 2:37
awesometrickycool1-Apr-10 2:37 
AnswerRe: C++ Thousand Separators Pin
Garth J Lancaster1-Apr-10 2:56
professionalGarth J Lancaster1-Apr-10 2:56 
QuestionRe: C++ Thousand Separators Pin
David Crow1-Apr-10 3:03
David Crow1-Apr-10 3:03 
AnswerRe: C++ Thousand Separators Pin
Garth J Lancaster1-Apr-10 3:06
professionalGarth J Lancaster1-Apr-10 3:06 
AnswerRe: C++ Thousand Separators Pin
Joe Woodbury1-Apr-10 7:15
professionalJoe Woodbury1-Apr-10 7:15 
GeneralRe: C++ Thousand Separators Pin
awesometrickycool1-Apr-10 15:08
awesometrickycool1-Apr-10 15:08 

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.