Click here to Skip to main content
15,890,506 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: win32 console application using MFC Pin
David Crow13-Nov-08 2:32
David Crow13-Nov-08 2:32 
AnswerRe: win32 console application using MFC Pin
CPallini12-Nov-08 0:57
mveCPallini12-Nov-08 0:57 
Questionstd::wstring real content Pin
Ahmed Charfeddine12-Nov-08 0:33
Ahmed Charfeddine12-Nov-08 0:33 
AnswerRe: std::wstring real content Pin
CPallini12-Nov-08 0:49
mveCPallini12-Nov-08 0:49 
GeneralRe: std::wstring real content Pin
Ahmed Charfeddine12-Nov-08 3:38
Ahmed Charfeddine12-Nov-08 3:38 
QuestionRe: std::wstring real content Pin
CPallini12-Nov-08 3:42
mveCPallini12-Nov-08 3:42 
AnswerRe: std::wstring real content Pin
Ahmed Charfeddine12-Nov-08 5:19
Ahmed Charfeddine12-Nov-08 5:19 
QuestionTransparent Dialog but not control.. Pin
gothic_coder12-Nov-08 0:27
gothic_coder12-Nov-08 0:27 
Hello all.. I don't know how to achieve this but i guess that's possible..
I've one dialog box and a picture control on it. I'm using CxImage Class to load and display PNG on that picture box.. Till now everything is good.. Now i've to show that PNG in a way so that it look like it's drawn on desktop screen. So for that i make my dialog transparent.. But making dialog transparent makes my picture control transparent. So no PNG is being shown. How do i overcome this problem...Or is there any way in CxImage Class to show PNG directly on desktop screen by taking DC of desktop screen..

Here is code to make dialog transparent..

SetWindowLong(hWnd,GWL_EXSTYLE,GetWindowLong(hWnd,GWL_EXSTYLE)^WS_EX_LAYERED);
SetLayeredWindowAttributes(hWnd,RGB(0,0,0),0,LWA_ALPHA);


Thanks all...
AnswerRe: Transparent Dialog but not control.. Pin
AtomAnt12-Nov-08 3:53
AtomAnt12-Nov-08 3:53 
AnswerRe: Transparent Dialog but not control.. Pin
Hamid_RT12-Nov-08 6:00
Hamid_RT12-Nov-08 6:00 
GeneralRe: Transparent Dialog but not control.. Pin
gothic_coder12-Nov-08 18:49
gothic_coder12-Nov-08 18:49 
GeneralRe: Transparent Dialog but not control.. Pin
Hamid_RT12-Nov-08 19:38
Hamid_RT12-Nov-08 19:38 
GeneralRe: Transparent Dialog but not control.. Pin
gothic_coder12-Nov-08 22:08
gothic_coder12-Nov-08 22:08 
GeneralRe: Transparent Dialog but not control.. Pin
Hamid_RT13-Nov-08 9:08
Hamid_RT13-Nov-08 9:08 
GeneralRe: Transparent Dialog but not control.. Pin
gothic_coder13-Nov-08 19:34
gothic_coder13-Nov-08 19:34 
QuestionBinary Search program Pin
bishshoy00711-Nov-08 23:21
bishshoy00711-Nov-08 23:21 
QuestionRe: Binary Search program Pin
CPallini11-Nov-08 23:38
mveCPallini11-Nov-08 23:38 
AnswerRe: Binary Search program Pin
Randor 11-Nov-08 23:59
professional Randor 11-Nov-08 23:59 
AnswerRe: Binary Search program Pin
David Crow12-Nov-08 3:09
David Crow12-Nov-08 3:09 
QuestionNeed cximagecrt.dll/cximagecrtd.dll Pin
Balaram_Neni11-Nov-08 23:20
Balaram_Neni11-Nov-08 23:20 
AnswerRe: Need cximagecrt.dll/cximagecrtd.dll Pin
enhzflep12-Nov-08 0:36
enhzflep12-Nov-08 0:36 
AnswerRe: Need cximagecrt.dll/cximagecrtd.dll Pin
Hamid_RT12-Nov-08 6:00
Hamid_RT12-Nov-08 6:00 
QuestionRe: Need cximagecrt.dll/cximagecrtd.dll Pin
Mark Salsbery12-Nov-08 9:16
Mark Salsbery12-Nov-08 9:16 
AnswerRe: Need cximagecrt.dll/cximagecrtd.dll Pin
Hamid_RT12-Nov-08 19:38
Hamid_RT12-Nov-08 19:38 
QuestionNeed help in template Pin
Subrat 470826611-Nov-08 22:44
Subrat 470826611-Nov-08 22:44 

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.