User Profile

Collapse

Profile Sidebar

Collapse
tbostwick
tbostwick
Last Activity: May 28 '13, 10:05 PM
Joined: May 24 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Again, thanks very much for your detailed reply. The example you linked to looks promising, along the lines that I suspected would be required. I'll dig in and see what happens. Thanks again! --Tim
    See more | Go to post

    Leave a comment:


  • Hi Oralloy: Thank you for your reply. Issue #1 is that VBA allows very little customization of controls. For example, you can't remove the close 'X' or change the border without calls to the API. Issue #2 is that graphical child controls such as a command button aren't windows and don't have handles so you can't modify them using the same API calls that modify the form. Which leads to Issue #3, How do you control how graphical controls are drawn?...
    See more | Go to post

    Leave a comment:


  • tbostwick
    started a topic Win32 API Graphical Controls - How to Redraw
    in APIs

    Win32 API Graphical Controls - How to Redraw

    I'm working with VBA for Excel 2003. I created UserForm1 and added a command button. I can manipulate the properties of UserForm1 using the form's hwnd. For example, I stripped the border, max/min, and caption properties. I'd like to create the same uniform look for child controls such as the button but graphical controls don't have handles. Is there a way to redraw graphical controls using the API? Thank you for your input.
    See more | Go to post
No activity results to display
Show More
Working...