Results 1 to 3 of 3

Thread: GDI Objects... -resolved

  1. #1

    Thread Starter
    Still learning kebo's Avatar
    Join Date
    Apr 2004
    Location
    Gardnerville,nv
    Posts
    3,757

    GDI Objects... -resolved

    Hi All,

    I am programming in .net and am interested in getting the GDI objects handle counts used by my app. I can already get the total number using the GetGuiResources api, but I would like a bit more detail. In particular, I would like to know the number of each GDI object my app has a handle for (pens, bitmaps, fonts, etc). I would like the level of information found using something like GDIView .

    Anyone know how to get that information?
    thanks
    kevin
    Last edited by kebo; Sep 19th, 2014 at 01:47 PM.
    Process control doesn't give you good quality, it gives you consistent quality.
    Good quality comes from consistently doing the right things.

    Vague general questions have vague general answers.
    A $100 donation is required for me to help you if you PM me asking for help. Instructions for donating to one of our local charities will be provided.

    ______________________________
    Last edited by kebo : Now. Reason: superfluous typo's

  2. #2
    PowerPoster
    Join Date
    Oct 2010
    Posts
    2,141

    Re: GDI Objects...

    Take a look at this: How to get list of GDI handles

    It C++ code, but at least there is no LINQ.

  3. #3

    Thread Starter
    Still learning kebo's Avatar
    Join Date
    Apr 2004
    Location
    Gardnerville,nv
    Posts
    3,757

    Re: GDI Objects...

    Yea cool thanks. I got it to compile, now I just need to get useful information from it.
    kevin
    Process control doesn't give you good quality, it gives you consistent quality.
    Good quality comes from consistently doing the right things.

    Vague general questions have vague general answers.
    A $100 donation is required for me to help you if you PM me asking for help. Instructions for donating to one of our local charities will be provided.

    ______________________________
    Last edited by kebo : Now. Reason: superfluous typo's

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