Click here to Skip to main content
15,887,683 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: filling memory with a pattern Pin
Scott Dorman11-Oct-07 8:10
professionalScott Dorman11-Oct-07 8:10 
GeneralRe: filling memory with a pattern Pin
DQNOK11-Oct-07 8:30
professionalDQNOK11-Oct-07 8:30 
GeneralRe: filling memory with a pattern Pin
Scott Dorman11-Oct-07 8:41
professionalScott Dorman11-Oct-07 8:41 
GeneralRe: filling memory with a pattern Pin
DQNOK11-Oct-07 8:51
professionalDQNOK11-Oct-07 8:51 
GeneralRe: filling memory with a pattern Pin
Scott Dorman11-Oct-07 9:15
professionalScott Dorman11-Oct-07 9:15 
GeneralRe: filling memory with a pattern Pin
DQNOK11-Oct-07 9:43
professionalDQNOK11-Oct-07 9:43 
GeneralRe: filling memory with a pattern Pin
Scott Dorman11-Oct-07 9:45
professionalScott Dorman11-Oct-07 9:45 
QuestionChange the size of the scrollbar, getsystemmetrics [modified] Pin
tortexy10-Oct-07 7:36
tortexy10-Oct-07 7:36 
Hello!

I am trying to change the width of the scrollbars of certain controls in a project I am developing.

It is funny enough, that if I am changing the Appearance settings in XP, the size of the scrollbars are changing.

I was trying to use the GetSystemMetrics Function. If I override it be the use of the Detours lib, and with passing the intended width, the sizes of the scrollbars remain as specified in the "Appearance settings".

How can I programatically change the Appearance settings for only one program? As it seams not working with the GetSystemMetrics

Thanx
Zoltan


-- modified at 14:05 Wednesday 10th October, 2007

The MoveWindow and SetWindowPos unfortunately does not solv the problem as that will make the arrows of the scrollbar to look squashed.
AnswerRe: Change the size of the scrollbar, getsystemmetrics Pin
Mark Salsbery10-Oct-07 7:48
Mark Salsbery10-Oct-07 7:48 
GeneralRe: Change the size of the scrollbar, getsystemmetrics Pin
tortexy10-Oct-07 7:53
tortexy10-Oct-07 7:53 
GeneralRe: Change the size of the scrollbar, getsystemmetrics Pin
Mark Salsbery10-Oct-07 10:15
Mark Salsbery10-Oct-07 10:15 
GeneralRe: Change the size of the scrollbar, getsystemmetrics Pin
tortexy11-Oct-07 2:33
tortexy11-Oct-07 2:33 
QuestionMIDI...DIRECT MUSIC...VISUAL C++...WINDOWS VISTA Pin
Rance_Wilson10-Oct-07 5:41
Rance_Wilson10-Oct-07 5:41 
Questionvc 2005 CDatabase compile error Pin
ns10-Oct-07 5:21
ns10-Oct-07 5:21 
AnswerRe: vc 2005 CDatabase compile error Pin
Mark Salsbery10-Oct-07 5:35
Mark Salsbery10-Oct-07 5:35 
GeneralRe: vc 2005 CDatabase compile error Pin
ns10-Oct-07 5:43
ns10-Oct-07 5:43 
AnswerRe: vc 2005 CDatabase compile error Pin
David Crow10-Oct-07 8:36
David Crow10-Oct-07 8:36 
AnswerRe: rebase and memory allocation Pin
Nemanja Trifunovic10-Oct-07 7:41
Nemanja Trifunovic10-Oct-07 7:41 
GeneralRe: rebase and memory allocation Pin
aks.10-Oct-07 15:27
aks.10-Oct-07 15:27 
GeneralRe: rebase and memory allocation Pin
JudyL_MD11-Oct-07 3:23
JudyL_MD11-Oct-07 3:23 
QuestionError in ShowWindow() Pin
GauranG Shah10-Oct-07 4:45
GauranG Shah10-Oct-07 4:45 
AnswerRe: Error in ShowWindow() Pin
Nathan Holt at EMOM10-Oct-07 5:28
Nathan Holt at EMOM10-Oct-07 5:28 
GeneralRe: Error in ShowWindow() Pin
GauranG Shah10-Oct-07 19:16
GauranG Shah10-Oct-07 19:16 
QuestionRe: Error in ShowWindow() Pin
David Crow11-Oct-07 3:26
David Crow11-Oct-07 3:26 
GeneralRe: Error in ShowWindow() Pin
Nathan Holt at EMOM11-Oct-07 8:10
Nathan Holt at EMOM11-Oct-07 8:10 

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.