Click here to Skip to main content
15,879,535 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Using Multithreading to encrypt a file Pin
Chris Losinger20-May-09 15:19
professionalChris Losinger20-May-09 15:19 
GeneralRe: Using Multithreading to encrypt a file Pin
Sh_oK25-May-09 13:02
Sh_oK25-May-09 13:02 
QuestionGetting a disabled CView to give a strong visual cue of being disabled, so that the user understands that it isn't a bug that it's disabled. Pin
Sternocera20-May-09 9:58
Sternocera20-May-09 9:58 
GeneralRe: Getting a disabled CView to give a strong visual cue of being disabled, so that the user understands that it isn't a bug that it's disabled. Pin
Michael Dunn20-May-09 10:43
sitebuilderMichael Dunn20-May-09 10:43 
GeneralRe: Getting a disabled CView to give a strong visual cue of being disabled, so that the user understands that it isn't a bug that it's disabled. Pin
Sternocera20-May-09 11:32
Sternocera20-May-09 11:32 
GeneralRe: Getting a disabled CView to give a strong visual cue of being disabled, so that the user understands that it isn't a bug that it's disabled. Pin
Sternocera20-May-09 11:56
Sternocera20-May-09 11:56 
AnswerRe: Getting a disabled CView to give a strong visual cue of being disabled, so that the user understands that it isn't a bug that it's disabled. Pin
Stuart Dootson20-May-09 11:39
professionalStuart Dootson20-May-09 11:39 
GeneralRe: Getting a disabled CView to give a strong visual cue of being disabled, so that the user understands that it isn't a bug that it's disabled. Pin
Sternocera20-May-09 12:10
Sternocera20-May-09 12:10 
Stuart,

That's interesting. How could this overlaying effect be achieved? calls to CWnd::SetLayeredWindowAttributes() don't seem to be affect my CView in anyway:
SetLayeredWindowAttributes(RGB(50,50,50), 100, WS_EX_LAYERED);

Equally, calling the Win32 API equivalents doesn't have any discernable effect:

HWND hwnd = GetSafeHwnd();
::SetWindowLong(hwnd, GWL_EXSTYLE,
	::GetWindowLong(hwnd, GWL_EXSTYLE) | WS_EX_LAYERED);

::SetLayeredWindowAttributes(hwnd, 0, (255 * 70) / 100, LWA_ALPHA);


Regards,
Sternocera
GeneralRe: Getting a disabled CView to give a strong visual cue of being disabled, so that the user understands that it isn't a bug that it's disabled. Pin
Stuart Dootson20-May-09 13:22
professionalStuart Dootson20-May-09 13:22 
GeneralRe: Getting a disabled CView to give a strong visual cue of being disabled, so that the user understands that it isn't a bug that it's disabled. Pin
Sternocera20-May-09 22:58
Sternocera20-May-09 22:58 
GeneralRe: Getting a disabled CView to give a strong visual cue of being disabled, so that the user understands that it isn't a bug that it's disabled. Pin
Stuart Dootson21-May-09 0:56
professionalStuart Dootson21-May-09 0:56 
GeneralRe: Getting a disabled CView to give a strong visual cue of being disabled, so that the user understands that it isn't a bug that it's disabled. Pin
Sternocera21-May-09 3:35
Sternocera21-May-09 3:35 
QuestionHow to manipulate with processes from your app? Any help is appreciated Pin
Oshtri Deka20-May-09 7:55
professionalOshtri Deka20-May-09 7:55 
AnswerRe: How to manipulate with processes from your app? Any help is appreciated Pin
Stuart Dootson20-May-09 8:16
professionalStuart Dootson20-May-09 8:16 
GeneralRe: How to manipulate with processes from your app? Any help is appreciated Pin
Oshtri Deka20-May-09 22:38
professionalOshtri Deka20-May-09 22:38 
AnswerRe: How to manipulate with processes from your app? Any help is appreciated Pin
ThatsAlok20-May-09 21:42
ThatsAlok20-May-09 21:42 
GeneralRe: How to manipulate with processes from your app? Any help is appreciated Pin
Oshtri Deka20-May-09 22:41
professionalOshtri Deka20-May-09 22:41 
QuestionCEdit with image suport? Pin
bosfan20-May-09 7:24
bosfan20-May-09 7:24 
AnswerRe: CEdit with image suport? Pin
David Crow20-May-09 7:43
David Crow20-May-09 7:43 
AnswerRe: CEdit with image suport? Pin
Nuri Ismail20-May-09 7:50
Nuri Ismail20-May-09 7:50 
QuestionConvert C++ from VisC++ 6 to VS 2008 [modified] Pin
gartnerj20-May-09 6:49
gartnerj20-May-09 6:49 
AnswerRe: Convert C++ from VisC++ 6 to VS 2008 Pin
David Crow20-May-09 7:42
David Crow20-May-09 7:42 
GeneralRe: Convert C++ from VisC++ 6 to VS 2008 Pin
gartnerj20-May-09 8:02
gartnerj20-May-09 8:02 
AnswerRe: Convert C++ from VisC++ 6 to VS 2008 Pin
led mike20-May-09 7:53
led mike20-May-09 7:53 
GeneralRe: Convert C++ from VisC++ 6 to VS 2008 Pin
gartnerj20-May-09 8:00
gartnerj20-May-09 8:00 

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.