Results 1 to 2 of 2

Thread: Getting the default icon for a form.

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 1999
    Location
    Oak Park, IL, USA
    Posts
    43

    Question Getting the default icon for a form.

    I am trying to figure out how to grab the default icon for a form. I use the GetClassLong with GCL_HICON, and the WM_GETICON sendmessage first. if neither return an icon (both fail) then i know that that form never had its Icon property set. Visual basic adds the default icon to the form, and draws it. But I cant use either of the known methods to just grab it. So how do I get it?

  2. #2
    What's wrong with [form name].Icon?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width