Hi

I always saw some applications they have beautiful gui,just like bitmap systembar etc,looks like this:


it is cute, and I want my prog has same ui, how to do that?
I know none like that is nothing but only specious.
But I always regard my progs as my girl (:P though i'm single), i hope she is the most beautiful one, not only inside,but also outside.

Terry
Posted on 2002-01-06 09:53:44 by xqterry
I think Test Department has some examples about skinning a window you will find usefull (look at the bottom of news list).
Posted on 2002-01-06 10:10:12 by LuHa
there' s also an example on my website (http://www.effervescence.com), a keygen template =)
Posted on 2002-01-06 12:13:30 by roy
Hmm that is a nice looking keygen template,
I really hope nobody generates serials based on
amount of characters in name, though :)

Link is here is anybody is afraid of naughty rce sites..
http://www.effervescence.com/fleur/files/projects/keygsrc.zip
Posted on 2002-01-06 17:37:44 by matthew
Basicly to do this you need to create a window skeleton on screen with no title bar or borders.



call CreateWindowExA,NULL,\
offset[ClassName],\
offset[AppName],\
WS_POPUP or WS_VISIBLE,\
400,\
300,\
116,\
79,\
NULL,\
NULL,\
wc.hInstance,\
NULL


Then you need to draw on your custom UI in the WM_Paint structure. Handle any buttons click/move/whatever in their respective structures in the WndProc.

Here is an example of making a custom close button:


...
.ELSEIF uMsg==WM_LBUTTONUP
.IF (check uMsg for click in the button coordinates)
call SendMessageA, HWnd,WM_CLOSE, NULL,NULL
.ENDIF
...


You can make it as simple or complicating as you need ranging from what I wrote your own widgits and skinning system:)
Posted on 2002-01-06 22:26:35 by -T-
Thanks for All.
I am trying.

Terry
Posted on 2002-01-06 23:53:59 by xqterry
Oops I forgot this link... I think you will find it very very usefull,
as it is a demo of what you want :)

http://ourworld.compuserve.com/homepages/ernies_world/cc.htm
Posted on 2002-01-07 01:17:20 by matthew
Ah, ernie explains all ;)
Posted on 2002-01-07 03:54:22 by -T-
you have to learn how to handle the windows gdi api's...
first i thought thats pretty hard but it became very easy
now... you should rather play around with memoryDC's
and Bitblitting instaed of analysing enormous 10000-line
progs... you'll find very simple examples in hutchs newest
masm pack (examples8/mob/cws)... both cws (custom-
windows-skin) progs have a little bug (WM_ERASEBKGND).
if you want to see a fully working do-nothing GUI then
check out this:

***
damn tripod :(
Posted on 2002-01-07 04:35:05 by mob
---
Posted on 2002-01-07 04:39:09 by mob