Guest

How do I change the background of a STATIC win32 control

By: a guest on Jan 28th, 2012  |  syntax: None  |  size: 0.12 KB  |  hits: 11  |  expires: Never
download  |  raw  |  embed  |  report abuse
Copied
  1. SetClassLong(retval , GCL_HBRBACKGROUND, (LONG)stripes);
  2.        
  3. SetClassLongPtr(retval , GCLP_HBRBACKGROUND, (LONG)stripes);