Search the web
Sign In
New User? Sign Up
EhLib
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
TDBLookupComboboxEh   Message List  
Reply | Forward Message #768 of 914 |
When the control gets resized, the button remains small.

does anybody know how to change that functionality?

i have isolated in code at the point of which it drwas, but when i
pass the height parameter to the procedure, the button still draws
its height incorrectly.

here:

StretchBlt(DC, ARect.Left, ARect.Top, ARect.Right - ARect.Left,
ARect.Bottom - ARect.Top, Bitmap.Canvas.Handle, 0, 0,
Bitmap.Width, Bitmap.Height, cmSrcCopy);

or here:

DrawOneButton(DC, Style, ARect, Enabled, Flat, Active,
DownButton <> 0, True);


Any help... thanks!




Thu Oct 2, 2008 8:41 pm

garybalsamo
Offline Offline
Send Email Send Email

Forward
Message #768 of 914 |
Expand Messages Author Sort by Date

When the control gets resized, the button remains small. does anybody know how to change that functionality? i have isolated in code at the point of which it...
garybalsamo
Offline Send Email
Oct 2, 2008
8:41 pm

I am sorry, but it is the Button HEIGHT that I am speaking of, not the width....
garybalsamo
Offline Send Email
Oct 5, 2008
2:42 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help