Tuesday, July 12 2005 @ 06:22 PM CEST Contributed by: detten Views: 5901
Level : beginner
OS : windows Language : ASM
This article will show you how to create a simple dialogbox keygen,
featuring an image, skinned buttons and dialog and an aboutbox.
The comments in the code are limited, if you have trouble understanding a part,
use the msdn to look up the API's or post a comment for other questions.
This sample uses a resource script to describe how our dialogs will look like.
The script also holds all the images, icons, pointers,... we want to use.
It is also possible to create the entire dialogbox dynamically in the code,
but in this example we chose the easiest way ;)
The resource script
There are visual editors to modify/create resource scripts, but this one is so small it
can easily be made by hand.
The script holds the description of 2 dialogboxes (our main dialogbox and a small aboutbox),
an icon, and 3 images.
Lets not waste any time, here is the resource script (rsrc.rc)