Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. cansley4puss

    Problems with TransparentBlt

    Soas, This is a known problem with the TransparentBlt call. It leaks memory in win9x (OK in NT, 2K and XP I think). Go to MSDN and search for TransparentBlt. You should find there official acknowledgement of this bug and, I think, a link to guidance about using BitBlt to draw 'transparent'...
  2. cansley4puss

    Guru needed! problems with static members & inheritance

    Is there any way to get a base class's methods to operate on a derived class's static members? - ie base class f(){ number++ } derived class static int number The only way of doing this I can find is to make the base class a class template and instantiate a version of the template...
  3. cansley4puss

    Immutable interfaces and adding methods

    Kieren, I suppose that a client compiled after the introduction of the new method, and expecting to find it on your interface, might come across the old version of the interface and trust it to have the new method (which of course it would not). It might all end in tears. Cheers, Ian.
  4. cansley4puss

    TryEnterCriticalSection() won't work

    Anyone know why TryEnterCriticalSection() is thrown out by the compiler (VC++ 6, sp5)? I've tried #defining the OS revision (as suggested in MSDN - I'm using Win2k) and it makes no difference. Cheers, Ian.
  5. cansley4puss

    Need help obtaining system information

    MSDN The GetSystemInfo function returns information about the current system. VOID GetSystemInfo( LPSYSTEM_INFO lpSystemInfo // address of system information // structure ); Cheers, Ian
  6. cansley4puss

    Tool-tip control sending multple WM_NOTIFY msgs

    Anyone know why my tooltip control sends 3 WM_NOTIFY messages (TTN_GETDISPINFO) to a window when the mouse stops over it? This is a message asking for text for the tooltip and asking once is quite enough! Can't figure it out. Cheers, Ian.
  7. cansley4puss

    #pragma warning(disable:4786)

    Yeah I've got SP5 too - it's the latest (and I would imagine last) isn't it? Funny isn't it how you can't get access to this info. Oh well.. Cheers, Ian.
  8. cansley4puss

    #pragma warning(disable:4786)

    JOlesen Wow, that's clever! I wonder if it's the Enterprise Ed. that's behaving? What service pack do you have installed? I've got round the problem by putting together a little map template of my own using a couple of vectors and the find() generic algo. It's limited but does what I need and...
  9. cansley4puss

    #pragma warning(disable:4786)

    Really annoyed about this - Basically you can't use the STL map class template in VC++ 6 (Pro - SP5) because using it generates about 50-70 long warnings when you compile. These are benign (in fact, pointless) warnings of 'type' 4786. You should be able to disable them using #pragma...

Part and Inventory Search

Back
Top