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

C / C++ / MFC

 
GeneralRe: Close a view during OnDraw Pin
CodeBrain3-Oct-03 0:36
CodeBrain3-Oct-03 0:36 
GeneralChanging the color of PUSH button at runtime Pin
venkyhyd2-Oct-03 3:49
venkyhyd2-Oct-03 3:49 
GeneralRe: Changing the color of PUSH button at runtime Pin
Mike Dimmick2-Oct-03 4:11
Mike Dimmick2-Oct-03 4:11 
GeneralRe: Changing the color of PUSH button at runtime Pin
vcplusplus2-Oct-03 7:49
vcplusplus2-Oct-03 7:49 
QuestionHow to prevent "Screen Capture" ? Pin
jajamal2-Oct-03 3:38
jajamal2-Oct-03 3:38 
AnswerRe: How to prevent "Screen Capture" ? Pin
jhwurmbach2-Oct-03 4:47
jhwurmbach2-Oct-03 4:47 
AnswerRe: How to prevent "Screen Capture" ? Pin
jajamal2-Oct-03 5:09
jajamal2-Oct-03 5:09 
GeneralRe: How to prevent "Screen Capture" ? Pin
igor19602-Oct-03 8:55
igor19602-Oct-03 8:55 
One of possible soultion that I'm coming with would be:
1. register one of your hidden windows as ClipBoard viewer, so when capture happens you'll get WM_DRAWCLIPBOARD message (see SetClipboardViewer());
2. on receiving WM_DRAWCLIPBOARD you may look into content and somehow figure out if bitmap(metafile) is something coming from your drawing window (based on size for example and or some other specific features) or maybe empty clipboard always when there is bitmap/metafile in it;
3. If it's you -- post message to your main wnd that will empty clipbrd...
...


"...Ability to type is not enough to become a Programmer. Unless you type in VB. But then again you have to type really fast..."
Me
AnswerRe: How to prevent "Screen Capture" ? Pin
Blake Coverett2-Oct-03 10:13
Blake Coverett2-Oct-03 10:13 
AnswerRe: How to prevent "Screen Capture" ? Pin
jajamal2-Oct-03 21:38
jajamal2-Oct-03 21:38 
GeneralRegSvr32 Pin
Mazdak2-Oct-03 3:01
Mazdak2-Oct-03 3:01 
GeneralRe: RegSvr32 Pin
David Crow2-Oct-03 3:07
David Crow2-Oct-03 3:07 
GeneralIIS managing Pin
corwin322-Oct-03 2:44
corwin322-Oct-03 2:44 
GeneralDIB problems Pin
Anthony_Yio2-Oct-03 1:56
Anthony_Yio2-Oct-03 1:56 
QuestionHow to insert Button to titleBar ? Pin
vgrigor2-Oct-03 0:58
vgrigor2-Oct-03 0:58 
AnswerRe: How to insert Button to titleBar ? Pin
Mike Dimmick2-Oct-03 4:14
Mike Dimmick2-Oct-03 4:14 
GeneralRe: How to insert Button to titleBar ? Pin
vgrigor2-Oct-03 5:20
vgrigor2-Oct-03 5:20 
GeneralExtracting info from a web page Pin
doctorpi2-Oct-03 0:36
doctorpi2-Oct-03 0:36 
GeneralRe: Extracting info from a web page Pin
David Crow2-Oct-03 2:49
David Crow2-Oct-03 2:49 
GeneralRe: Extracting info from a web page Pin
RobJones2-Oct-03 7:07
RobJones2-Oct-03 7:07 
GeneralCRecordset input parameters Pin
pocovnicu1-Oct-03 23:19
pocovnicu1-Oct-03 23:19 
GeneralRe: CRecordset input parameters Pin
vcplusplus2-Oct-03 1:50
vcplusplus2-Oct-03 1:50 
GeneralRe: CRecordset input parameters Pin
pocovnicu2-Oct-03 2:50
pocovnicu2-Oct-03 2:50 
GeneralRe: CRecordset input parameters Pin
David Crow2-Oct-03 3:06
David Crow2-Oct-03 3:06 
GeneralRe: CRecordset input parameters Pin
pocovnicu2-Oct-03 3:17
pocovnicu2-Oct-03 3:17 

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.