Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Form Background Subclassing

Form Background Subclassing

Scheduled Pinned Locked Moved Visual Basic
com
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mdb
    wrote on last edited by
    #1

    i'm using the cTextBoxBackground class from vbAccelerator http://www.vbaccelerator.com/home/VB/Code/Libraries/Subclassing/Tile\_a\_Bitmap\_Into\_a\_TextBox/article.asp and trying to adapt it to change the background of a form (which i don't own), and it almost works. If you remove the lines which refer to the hWnd of the parent window and use the class "as is" to subclass a form it works except the labels are not drawn onto the DC, nor are shapes and lines etc. these controls don't seems to get painted onto the DC when you send the WM_PRINT message. does anyone know of a way around this. Thank you mdb

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups