DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Neil Chittenden Guest

    Placing graphics onto a control without a valid hDC


    Hi,

    I'm currently trying to change the picture to a coolbar control at run time.
    All the API calls I've come across need a device context for the control,
    which the coolbar doesn't have. If anyone has any ideas, it would be great
    as I've spent long enough with my coolbars already.

    Thanks for any help,

    Cheers,

    Neil

  2. #2
    Mattias Sjögren Guest

    Re: Placing graphics onto a control without a valid hDC

    Neil,

    >I'm currently trying to change the picture to a coolbar control at run time.


    Why don't you just set the Picture property?


    Matt

    ============================================
    Mattias Sjögren - mattiass @ hem.passagen.se
    CodeHound - Free VB Search Engine
    http://www.codehound.com

  3. #3
    Mattias Sjögren Guest

    Re: Placing graphics onto a control without a valid hDC

    Neil,

    >I'm currently trying to change the picture to a coolbar control at run time.


    Why don't you just set the Picture property?


    Matt

    ============================================
    Mattias Sjögren - mattiass @ hem.passagen.se
    CodeHound - Free VB Search Engine
    http://www.codehound.com

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links