Design a custom win32 control: Display like Disk Defrag

We need someone to develop a custom win32 control, it must be done done completely in C (not C++), and use only the win32 API.

The desired control must provide an interface that shows the representation of a hard disk blocks with diferent colors. It will be feed with an array with the index of the box colors and must provide the way to show 2 size of boxes. You could look at the attached images from some disk defragmentation programs to make an idea. The number of box to displays depends on the control dimensions, it must be handled when the control is resized.

At the bottom of the control you must provide 12 color boxes with their captions, to indicate the user what does each color means.

The custom styles it is going to use are:


-this style tell to the control to show an scrollbar at the right when the control is in the mode "HDF_MODE_SHOWALL" or "HDF_MODE_ADJUST"


-this style tell the control to use small boxes, the small boxes are boxes of 6x6 pixels with 1 pixel of margin among each box


-this style tell the control to use big boxes, the big boxes are boxes of 8x8 pixels with 1 pixel of margin among each box

The custom messages it will receive are:

HDFS_SETCAPTION(INT palette_index, TCHAR *palette_caption)

-this message sets a caption for a given palette number, in case that palete_caption==NULL it must hide the current color box.

HDFS_SETCOLOR(palette_index, COLOR palette_color)

-this message sets the color for a given palette number.


-this message sets the number de blocks contained in the array.


-this message defines what array is the one that represents the blocks bitmap.


-this message forces the control to refresh.


-this message set the current display mode, modes:

HDF_MODE_SHOWALL: show all the elements, uses scroll if needed.

HDF_MODE_ADJUST: srink the bitmap tho fit the current boxes disposition.

The control must be provided in its source code form, and need to have a sample program that uses it, the sample consist in a console with random messages and let the user to remove or copy a line doing click in that line.


-Must be done in plain C (if you can't don't bid on it)

-It must be memory efficient, don't have to produce leaks.

-Must not depend on third party libraries nor DLLs (of course it can depend on win32 Common Controls)

Please ask in the clarification board for more info.

Habilidades: Programação C

Veja mais: sample disk defragmentation, win32 custom control, custom controls defrag, custom control win32 api, win32 control custom, win32 api custom control, plain custom control, win32 custom controls, disk defrag display control source, what are the elements of design, the elements of design, scroll design, programs to design, number board design, message scroll, int size c, hard copy design, elements of design line, diferent design, design of boxes, design of box, design controls, design a case, common current, box design idea

Acerca do Empregador:
( 3 comentários ) Santiago, Chile

ID do Projeto: #559797

Concedido a:


Hi, I am interrested to provide you the best codes.

$150 USD em 7 dias
(19 Comentários)

9 freelancers estão ofertando em média $143 para esse trabalho


Hello [login to view URL] I think this is easy - just sent request to the filesystem driver and fusther use the graphic format. Best regards

$250 USD in 10 dias
(9 Comentários)

I can start tomorrow. Please,also view your PM.

$105 USD em 1 dia
(4 Comentários)

Please check PMB

$200 USD in 45 dias
(2 Comentários)

I've good handling of win32 API, it is not that hard, I can do it very quickly and reliable.

$140 USD in 5 dias
(0 Comentários)

Please PM with details

$50 USD in 6 dias
(0 Comentários)

I can provide you the best solution code

$100 USD in 5 dias
(1 Comentário)

hello! i can do it.

$190 USD in 2 dias
(0 Comentários)

check PMB, THX.

$100 USD in 5 dias
(0 Comentários)