MODIFYING THE LOOK OF MIGPRO Part II

Diposting oleh Admin | Saturday, December 20, 2008 | , , | 0 komentar »

If u have tried migpro command center v1.0.2 beta, u'll notice that the migpro command center can arrange migpro application on ur desktop automatically..

Actually, migpro command center doesn't arrange them automatically, but the migpro itself does.
Since i cannot make migpro command center arrange them automatically, then i play a little trick there by editing the position of migpro application when opening them..

Look at the picture below..



and take a look at the code..

MIGDIALOG DIALOGEX 10, 10, 258, 95
STYLE DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_DLGMODALFRAME


the amount 10, 10 is the position of migpro on the desktop (X and Y coordinate), while 258, 95 is the admeasurement of migpro window..

So with that amount migpro will be on the top larboard position of the desktop, but not absolutely top left..

I change it to 0, 0 amount so migpro will be on top larboard position of the desktop precisely..

but this amount won't accord any furnishings if DS_CENTER is still defined, so i abolish it..

And the result code for top left position is..

MIGDIALOG DIALOGEX 0, 0, 258, 95
STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_DLGMODALFRAME



and i make an additional editing like this..

MIGDIALOG DIALOGEX 0, 0, 258, 95
STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_TOOLWINDOW


with WS_EX_TOOLWINDOW again migpro won't abide in the taskbar

notes:

With WS_EX_TOOLWINDOW there is a featur in JitBit Macro Recorder won't work..

The affection is "Switch to a window" command...

JitBit cannot acquisition the appliance that is not apparent in taskbar..

so if u appetite to use that featue, don't add WS_EX_TOOLWINDOW to migpro ability code..

and for the blow migpro, i aloof adapt the X and Y position..

this is one of the them..
MIGDIALOG DIALOGEX 262, 0, 258, 95
STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_TOOLWINDOW

0 komentar