Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flat DTPicker

Status
Not open for further replies.

happyabc

IS-IT--Management
Mar 10, 2004
164
IN
I need to make a DTPicker control flat but it has no Appearance property. Is it possible to do this some other way?
 
Hi,

I just tried a sort of workaround and it seemed to work:

put the DTPicker in a flat picturebox with the DTP's left and top set to -45 (twips). Then make the picturebox just wide enough to cover the DTP's 3D border on the right and bottom of the DTPicker. This doesn't make the DTP flat, but it makes it appear flat.

Good luck!

__________________
code is enduring
 
Ver ingeneous! I'll save the tip as a last resort. But I've seen some stuff in MSDN about a DrawEdge function but can't understand it. Anyone familiar with it?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top