Click here to Skip to main content
15,895,667 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: why ATL based ACTIVEX control got flicker when Redraw Pin
greekgoddj11-Jan-05 22:49
greekgoddj11-Jan-05 22:49 
GeneralRe: why ATL based ACTIVEX control got flicker when Redraw Pin
greekgoddj30-Jan-05 23:13
greekgoddj30-Jan-05 23:13 
GeneralRe: why ATL based ACTIVEX control got flicker when Redraw Pin
greekgoddj31-Jan-05 3:14
greekgoddj31-Jan-05 3:14 
GeneralCan't make work FireOnChanged Pin
Anonymous17-Sep-04 11:22
Anonymous17-Sep-04 11:22 
GeneralFlickering problem Pin
qur17-Sep-04 0:42
qur17-Sep-04 0:42 
GeneralRe: Flickering problem Pin
Jason De Arte20-Sep-04 12:56
Jason De Arte20-Sep-04 12:56 
GeneralRe: Flickering problem Pin
Jörgen Sigvardsson20-Sep-04 13:47
Jörgen Sigvardsson20-Sep-04 13:47 
GeneralRe: Flickering problem Pin
Jason De Arte21-Sep-04 12:57
Jason De Arte21-Sep-04 12:57 
Jörgen Sigvardsson wrote:
Say, you don't have a small dialog sample anywhere you'd like to show me, or better yet, write an article about it?

When I have some time, I might write a small article - but it's realy easy to do for most controls (except group boxes) on your resizing dialog.
1. In your WM_ERASEBKGND handler...
2. Create a region of the client area
3. For each valid & visible child window you want to exclude,
3.a. create a region of that window (try GetWindowRgn, XP Themes tends to make buttons round)
3.b. remove the child region - CombineRgn(rgnChild,rgnDlg,RGN_XOR)
4. Paint your background, I use FillRgn
5. return TRUE from WM_ERASEBKGRND, or all your work will be undone.

Minor details were left out, but you'll get the idea.

[ Jason De Arte | Toy Maker | 1001010.com ]
GeneralRe: Flickering problem Pin
Jörgen Sigvardsson21-Sep-04 13:23
Jörgen Sigvardsson21-Sep-04 13:23 
GeneralJavaScript access to Toolband Pin
mvarvil15-Sep-04 13:24
mvarvil15-Sep-04 13:24 
GeneralRe: JavaScript access to Toolband Pin
Michael Dunn16-Sep-04 9:31
sitebuilderMichael Dunn16-Sep-04 9:31 
Generalplease help Pin
andy_cn14-Sep-04 21:52
andy_cn14-Sep-04 21:52 
Generalpls help Pin
ThatsAlok14-Sep-04 1:15
ThatsAlok14-Sep-04 1:15 
GeneralRe: pls help Pin
User 21559721-Sep-04 2:12
User 21559721-Sep-04 2:12 
GeneralRe: pls help Pin
ThatsAlok21-Sep-04 18:46
ThatsAlok21-Sep-04 18:46 
GeneralRe: pls help Pin
User 21559722-Sep-04 1:42
User 21559722-Sep-04 1:42 
QuestionUse gifs in resources? Pin
LukeV13-Sep-04 15:48
LukeV13-Sep-04 15:48 
GeneralDraw subitem in SysListView32 Pin
qur13-Sep-04 8:12
qur13-Sep-04 8:12 
GeneralRe: Draw subitem in SysListView32 Pin
Michael Dunn13-Sep-04 8:50
sitebuilderMichael Dunn13-Sep-04 8:50 
GeneralRe: Draw subitem in SysListView32 Pin
qur13-Sep-04 11:44
qur13-Sep-04 11:44 
GeneralRe: Draw subitem in SysListView32 Pin
Michael Dunn13-Sep-04 13:25
sitebuilderMichael Dunn13-Sep-04 13:25 
GeneralRe: Draw subitem in SysListView32 Pin
qur15-Sep-04 5:05
qur15-Sep-04 5:05 
QuestionHow to draw a disabled bitmap transparently Pin
Maxime Labelle13-Sep-04 5:17
Maxime Labelle13-Sep-04 5:17 
AnswerRe: How to draw a disabled bitmap transparently Pin
Jörgen Sigvardsson13-Sep-04 7:39
Jörgen Sigvardsson13-Sep-04 7:39 
GeneralRe: How to draw a disabled bitmap transparently Pin
Maxime Labelle14-Sep-04 0:56
Maxime Labelle14-Sep-04 0:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.