Search the web
Sign In
New User? Sign Up
wtl · WTL support list
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 8590 - 8619 of 16191   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
8590
Hello, I am trying to load a bmp in my app which uses WM_PAINT -and it failes. Since i am a newbee to graphics maybe i am missing something in the app. How do...
yakirtus
Offline Send Email
May 3, 2004
4:57 pm
8591
"yakirtus" <yakirtus@...> wrote in message news:c75tjr+m02p@eGroups.com ... You don't - Windows does when it detects your window is in need of repainting...
Igor Tandetnik
itandetnik
Offline Send Email
May 3, 2004
5:07 pm
8592
What about BmpView in WTL sample folder? Cheers, Pascal ... From: "yakirtus" <yakirtus@...> To: <wtl@yahoogroups.com> Sent: Monday, May 03, 2004 6:56 PM ...
Pascal Binggeli
pbinggeli
Offline Send Email
May 3, 2004
5:17 pm
8593
Hi all, I guess I'm a bit of a WTL newbie but I'm taking to it. Codeproject has lots of useful examples :-) However, I'm having problems with a CPropertySheet...
richard@...
redbaron_77027
Offline Send Email
May 4, 2004
8:11 pm
8594
SetWizardMode will add PSH_WIZARD to the property sheet flags, but you want PSH_WIZARD97 if you're going to be doing a header bitmap. SetHeader will unset...
dbowen@...
newob_leinad
Offline Send Email
May 4, 2004
10:47 pm
8595
In the constructor to my Wizard I set the header with a SetHeader call, this sets the PSH_WIZARD97 style. There is no need to call SetWizardMode since this...
Edwards, John
johnesage
Offline Send Email
May 5, 2004
8:39 am
8596
Daniel, Excellent post - thanks! I went through each of your suggestions one at a time. It only started to work when I also switched the watermark on with...
richard@...
redbaron_77027
Offline Send Email
May 5, 2004
2:29 pm
8597
After a lot of head-scratching (and swearing all morning :) I have discovered there's a bug in the tooltip control. I was trying to add tools for a dialog...
Nikos Bozinis
umeca74
Offline Send Email
May 6, 2004
10:09 am
8598
What you can do is to redefine TOOLINFO and LPTOOLINFO after commctrl.h has been included and before atlctrls.h. ... #include <atlapp.h> typedef struct...
korvenwtl
Offline Send Email
May 6, 2004
1:40 pm
8599
... it does, but the tooltip itself is broken if WTL doesn't cover that and forces me to do "workarounds" then i consider it a (small) bug! basically there's a...
Nikos Bozinis
umeca74
Offline Send Email
May 6, 2004
3:50 pm
8600
Hi, Our graphics application is leaking memory constantly. I checked DC/bitmap creation/deletion pair and found no reason. Any suggestion as to how to debug...
Ted Yu
ted_yu
Online Now Send Email
May 6, 2004
6:04 pm
8601
I have a small graphics application that is using WTL and has over 200k downloads over the last year and I am not seeing any problems. Can you be abit more...
Steve Maier
ysfred4
Offline Send Email
May 6, 2004
6:20 pm
8602
I don't consider changing the WTL header files a simpler solution. If you redefine TOOLINFO and LPTOOLINFO you don't need to do any changes to the WTL header...
korvenwtl
Offline Send Email
May 6, 2004
6:22 pm
8603
... i never recommended anything of the sort modifying headers is for Nenad's todo list! ... and this is relevant to the subject because... (?) let's give it a...
Nikos Bozinis
umeca74
Offline Send Email
May 6, 2004
6:50 pm
8604
What I mean is that if you redefine TOOLINFO and LPTOOLINFO you won't have any problems anywhere where sizeof(TOOLINFO) is called, in your code or code written...
korvenwtl
Offline Send Email
May 6, 2004
6:59 pm
8605
... Your explanation means nothing. There may be many places in your application where leaks occurr. Please, be more precise or give some piece of code. -...
Mateusz oskot
gekonioo
Offline Send Email
May 6, 2004
9:54 pm
8606
Hello all, I'm writing a WTL control and I have to make some decisions on a design issue. I was hoping I could get some feedback on the possibilities. I want...
Roel Vanhout
RoelVanhout
Offline Send Email
May 7, 2004
11:05 am
8607
... design ... be able ... using ... based or ... is ... something> } ... something> } ... changed at ... changed at ... compacter ... Are ... customization? ...
Roger Headrick
lilsroro
Offline Send Email
May 7, 2004
1:00 pm
8608
Hi Roel, your post poses an interesting quesiton. All of the approaches you suggest have their merits and drawbacks. At the risk of further complicating the...
Christopher D. Russell
cdr774
Offline Send Email
May 7, 2004
1:04 pm
8609
... Ai ai that's what I get when just typing code that hasn't actually been used ;) DrawerBase should of course have been virtual like this: class DrawerBase {...
Roel Vanhout
RoelVanhout
Offline Send Email
May 7, 2004
1:34 pm
8610
... Well I have this problem regularly, but for the sake of the argument, let's consider a control that looks like the icon list in outlook (where you can...
Roel Vanhout
RoelVanhout
Offline Send Email
May 7, 2004
1:58 pm
8611
... Yes ... try to isolate the code where the leak(s) occur. Turn off different sections of code (like the WM_PAINT message handler) by commenting them out:...
Rick Parrish
ultra_wide_band
Offline Send Email
May 7, 2004
2:38 pm
8612
Also don't forget to selectobject the previous object you replaced with an earlier SelectObject call. ... Peace and love, Tweety mitea@... -...
tweety
tweety_04_01
Online Now Send Email
May 7, 2004
2:58 pm
8613
Hi, I suggest to patch the atlgdi.h litle bit. Change the function for the class CBitmapT from: BOOL DeleteObject() { ATLASSERT(m_hBitmap != NULL); BOOL bRet =...
Serhiy Serbin
srs@...
Send Email
May 7, 2004
2:59 pm
8614
... been ... DefaultDrawer ... in ... things ... Hi Roel, Since OnPaint is calling a DrawerBase pointer (ie its not being cast to some derived class), I dont...
Roger Headrick
lilsroro
Offline Send Email
May 7, 2004
4:08 pm
8615
Roger, I think you learned something today: class A { public: virtual void Method() { ATLTRACE("A");} }; class B: public A { public: virtual void Method() {...
Jens Bohlmann
bohlyde
Offline Send Email
May 7, 2004
4:20 pm
8616
... Thanks Jens. I'll take your word for it :). I'm wondering what I was thinking. -Roger...
Roger Headrick
lilsroro
Offline Send Email
May 7, 2004
4:38 pm
8617
Hi, Thanks for so much help. I checked my code. One strange thing is that the number displayed under Mem Usage from Task Manager increases steadily. On one...
Ted Yu
ted_yu
Online Now Send Email
May 7, 2004
4:49 pm
8618
Ted, I had a similar problem last year, and also saw the steadily increasing memory usage numbers (as I continually refreshed the display). The error was in...
Jeff Boone
expert308
Offline Send Email
May 7, 2004
5:04 pm
8619
"Roger Headrick" <lilsroro@...> wrote in message news:c7gc43+qa3s@eGroups.com ... It does. That's what "virtual" and polymorphism is all about. ... class...
Igor Tandetnik
itandetnik
Offline Send Email
May 7, 2004
6:10 pm
Messages 8590 - 8619 of 16191   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help