Find Jobs
Hire Freelancers

Design a custom win32 control: Display like Disk Defrag

$30-250 USD

Completed
Posted over 14 years ago

$30-250 USD

Paid on delivery
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: HDFS_SHOWSCROLL -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" HDFS_SMALLBOX -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 HDFS_BIGBOX -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. HDFS_SETBLOCKCOUNT(INT block_count) -this message sets the number de blocks contained in the array. HDFS_SETBLOCKARRAY(char *blocks) -this message defines what array is the one that represents the blocks bitmap. HDFS_REFRESH() -this message forces the control to refresh. HDFS_SETMODE(int HMODE) -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. Important: -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.
Project ID: 559797

About the project

8 proposals
Remote project
Active 14 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi, I am interrested to provide you the best codes.
$150 USD in 7 days
5.0 (45 reviews)
6.1
6.1
8 freelancers are bidding on average $148 USD for this job
User Avatar
Please check PMB
$200 USD in 45 days
3.4 (10 reviews)
4.1
4.1
User Avatar
I've good handling of win32 API, it is not that hard, I can do it very quickly and reliable.
$140 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Please PM with details
$50 USD in 6 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I can provide you the best solution code
$100 USD in 5 days
0.0 (1 review)
0.0
0.0
User Avatar
hello! i can do it.
$190 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
check PMB, THX.
$100 USD in 5 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CHILE
Santiago, Chile
5.0
3
Member since Nov 25, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.