Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 27th, 2006, 6:35 PM   #1
Cache
Hobbyist
 
Join Date: Sep 2005
Posts: 261
Rep Power: 4 Cache is on a distinguished road
C++/Win32 Drive picker control class: CDriveCombo

The CDriveCombo class is part of a project I'm working on at the minute. Thought it might be useful to someone else too. The attachment contains two files: CDriveCombo.h and CDriveCombo.cpp. I'll post some usage instructions and maybe a demo app soon, if anyone is interested.

Here is a screenshot of the control:



As you can see it's a drop-down ComboBox that can be created with either small or large icons. It's basically a no-frills class. You can create it, resize it, and retrieve the selected items text. Thats all I need it for, so I wont be "upgrading" it any. Although it wouldn't be hard extent if anyone wanted.
Attached Files
File Type: zip CDriveCombo.zip (3.5 KB, 9 views)
Cache is offline   Reply With Quote
Old Mar 28th, 2006, 3:23 AM   #2
nnxion
Programming Guru
 
nnxion's Avatar
 
Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5 nnxion is on a distinguished road
Wow that sure does look nice, a demo-app (like the above) would be nice, though not really needed, but maybe I'm overlooking something. By the way, what licence is this under?
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for."
-- Socrates
nnxion is offline   Reply With Quote
Old Mar 28th, 2006, 6:46 AM   #3
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Made me smile because it reminded me that when a friend broke her CD button, I whipped up something on the spur of the moment. I think I win the no-frills, but you win the pretty appearance.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Mar 28th, 2006, 9:36 AM   #4
tayspen
Hobbyist Programmer
 
Join Date: Sep 2005
Location: A House...
Posts: 191
Rep Power: 3 tayspen is on a distinguished road
Your SS isnt showing. I can see DaWei's, but not yours. Just a heads up...Yes I let the page finish loading. And refreshed the page.
tayspen is offline   Reply With Quote
Old Mar 28th, 2006, 9:43 AM   #5
Cache
Hobbyist
 
Join Date: Sep 2005
Posts: 261
Rep Power: 4 Cache is on a distinguished road
Quote:
Originally Posted by tayspen
Your SS isnt showing. I can see DaWei's, but not yours. Just a heads up...Yes I let the page finish loading. And refreshed the page.
Not much I can do about that, ehh? It's showing for me.
Cache is offline   Reply With Quote
Old Mar 28th, 2006, 12:06 PM   #6
Prm753
Professional Programmer
 
Prm753's Avatar
 
Join Date: Oct 2005
Location: United States
Posts: 447
Rep Power: 3 Prm753 is on a distinguished road
Send a message via AIM to Prm753 Send a message via MSN to Prm753
That's pretty cool. Please do post the demo app soon.
__________________
The world's first athletic computer geek!
The home of PrProgramsStudios
How not to post a question: <-- Please don't reply
Prm753 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:50 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC