Click here to Skip to main content
16,017,069 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionOnMouseWheel for horizontal scroll? Pin
CKLam5-Sep-04 7:50
CKLam5-Sep-04 7:50 
GeneralMultithreading problem in Win32 Pin
Dev5785-Sep-04 7:27
Dev5785-Sep-04 7:27 
GeneralRe: Multithreading problem in Win32 Pin
Joel Holdsworth5-Sep-04 8:38
Joel Holdsworth5-Sep-04 8:38 
GeneralRe: Multithreading problem in Win32 Pin
Gary R. Wheeler5-Sep-04 10:08
Gary R. Wheeler5-Sep-04 10:08 
GeneralRe: Multithreading problem in Win32 Pin
Joel Holdsworth5-Sep-04 10:14
Joel Holdsworth5-Sep-04 10:14 
Generalstill having problems Pin
Dev5785-Sep-04 12:30
Dev5785-Sep-04 12:30 
GeneralRe: still having problems Pin
Tim Smith5-Sep-04 13:51
Tim Smith5-Sep-04 13:51 
GeneralHide styles and break MDI Pin
mkristof5-Sep-04 4:53
mkristof5-Sep-04 4:53 
Hi,

I'm an absolute beginner, started learning C++ a while ago. I'm looking for help to make an application that is able to hide winstyles on all windows and break the MDI of existing applications like Photoshop.
If it's not a big request i would ask for schematic code/ideas.

In depth (only speculation, i've no clue where to start):
1. I would like to hide windowborders, scrollbars and other styles on ALL windows (Windows Classic look) because it's not possible by default in Windows (there's no 0 value for the windowborder in display properties/appearance).
AFAIK it would work with a SetWindowLong(hWnd, GWL_STYLE, GetWindowLong(hWnd, GWL_STYLE) & ~WS_BORDER); and a dll that intercepts window creation msgs. Somebody suggested WH_CBT hook inside the dll.
There are huge stones in the way. It doesn't work without a system-wide hook and there are several other problems with it. For instance WS_BORDER removes the caption too.. I don't want to remove the caption but the whole windowborder. Or WS_THICKFRAME? I don't know.

2. I would like to break the Multiple Document interface of existing applications (like Photoshop).
There is the well-known mIRC. There you can set MDI childs onto the desktop. Speculating: with a system-wide hook, + SetWindowLong(), SetParent() would allow this. But this way the childwindows would loose all contact with their parent application, is it true?

3. My last question is insignificant but i give it a try. I know some facts about why it's not possible to use 32bit PNGs or BMPs (24bit+alpha channel) on WinXP Visual Styles. GDI is XRGB.
But are there any small chances to break this rule? Like AlphaImageFilter script for Internet Explorer. Or.... I dunno.

Excuse me for the n00b/lame questions.

Thanks in advance,
on

GeneralEmulating clipboard copy/paste Pin
Kamis4-Sep-04 23:10
Kamis4-Sep-04 23:10 
GeneralRe: Emulating clipboard copy/paste Pin
David Salter5-Sep-04 1:21
David Salter5-Sep-04 1:21 
GeneralRe: Emulating clipboard copy/paste Pin
Kamis5-Sep-04 3:20
Kamis5-Sep-04 3:20 
GeneralLightweight XML reader/writer lib Pin
peterchen4-Sep-04 22:26
peterchen4-Sep-04 22:26 
GeneralRe: Lightweight XML reader/writer lib Pin
Neville Franks5-Sep-04 0:24
Neville Franks5-Sep-04 0:24 
GeneralRe: Lightweight XML reader/writer lib Pin
Dominik Reichl5-Sep-04 1:36
Dominik Reichl5-Sep-04 1:36 
QuestionHow to use CreateRemoteThread on every process in every windowstation ? Pin
n4_t14-Sep-04 17:39
n4_t14-Sep-04 17:39 
AnswerRe: How to use CreateRemoteThread on every process in every windowstation ? Pin
gamitech5-Sep-04 9:20
gamitech5-Sep-04 9:20 
GeneralRemoving IWebBrowser2 'sunken' look Pin
Ritcho4-Sep-04 16:45
Ritcho4-Sep-04 16:45 
GeneralRe: Removing IWebBrowser2 'sunken' look Pin
Neville Franks5-Sep-04 0:40
Neville Franks5-Sep-04 0:40 
GeneralDouble to CString Conversion using fcvt Pin
Charlie Curtis4-Sep-04 16:45
Charlie Curtis4-Sep-04 16:45 
GeneralRe: Double to CString Conversion using fcvt Pin
David Crow4-Sep-04 17:14
David Crow4-Sep-04 17:14 
GeneralRe: Double to CString Conversion using fcvt Pin
Charlie Curtis4-Sep-04 18:19
Charlie Curtis4-Sep-04 18:19 
GeneralC++ Termplate Issue.... Pin
Kandjar4-Sep-04 16:18
Kandjar4-Sep-04 16:18 
GeneralRe: C++ Termplate Issue.... Pin
PJ Arends4-Sep-04 17:15
professionalPJ Arends4-Sep-04 17:15 
GeneralRe: C++ Termplate Issue.... Pin
Kandjar4-Sep-04 18:06
Kandjar4-Sep-04 18:06 
GeneralRe: C++ Termplate Issue.... Pin
PJ Arends4-Sep-04 23:15
professionalPJ Arends4-Sep-04 23:15 

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.