thanks for that but in the end I managed to work with CF_BITMAP instead and GetDIBits, ignoring color palettes :) something's weird in the handling of CF_DIB...
... Hi Nikos. It's probably best to avoid GlobalSize, as it may return a larger value than the size that was originally passed to GlobalAlloc. However, the ...
... that's true, i played with it and it was a few bytes extra than the actual biSizeImage, but using the accurate size didn't make any difference ... that was...
... Right - you'd just get a few extra bytes of junk at the end of the file, that's all. ... Ah, the eternal question. But which particular samples did you...
Maybe int WTL::AtlGetDibColorTableSize(LPBITMAPINFOHEADER pbmih) :) cheers, AR ... From: Jim Barry To: wtl@yahoogroups.com Sent: Tuesday, September 29, 2009...
... That will probably do :) Although, it seems to me that biClrUsed should still be observed for the case of 16, 24 and 32 bit colour depths. - Jim...
Hi all, I am creating a WTL mobile project, my purpose is to link it with a C++ directshow engine. It is supposed to preview the video from the webcam. However...
Hello All, I'm new to WTL. I used Visual Studio 2008 to generate my first WTL project. I selected a multi-threaded application, with a 1) ToolBar, 2) Rebar, 3)...
Hi, If you #include <streams.h> first (following #defineWINVER 0x0420) you should get rid of these errors: atlbase.h and atlwin.h undefine some poorly named...
Hi all, I'm new to WTL and implementing custom controls and have been having some difficulty with what SHOULD be a pretty straightforward thing: adding a...
Are you creating (4) inside of (2), even though (4) is a child of (3)? wnd.Create(_display->m_hWnd, rc, _T("TEST"), WS_CHILD|WS_VISIBLE,0,ID_TEST_ACTION); ...
Mike, thanks for the response: I am creating (4) inside of (2), but setting (3) to be its parent. I'm looking for just regular run of the mill button behavior:...
As Jim, said, a small code sample or sample project would be helpful. With the freezes, it sounds like something is definitely not right :o). How do you know...
Thanks for the replies: I'm using Remote Spy (this application is on Windows Mobile, actually) and it confirms that clicking on the button does not generate...
Hi, Do you know there are example projects included in WTL? though how they relate to mobile apps I don't know. I do remember when having struggled with...
I found one easy way to achieve what I want. Simply check the system modal and set foreground checkboxes in the dialog resource. I don't see any problems with...
That's rather user-hostile. Your application window is disabled while the dialog is running, so the user can't proceed while your modal dialog is visible. ...
hello, genius        I want put UI elements in a XML file, which stores every atrribute of each widget. so, when application starts, the XML file is...
thats what I was going to reply... sounds like you want a document storage and rendering engine...or...a Browser clone. _____ From: wtl@yahoogroups.com...
+ collada.org ... -km ... From: Igor Tandetnik To: wtl@yahoogroups.com Sent: Friday, October 30, 2009 8:54 PM Subject: [wtl] Re: XML Events ... In other words,...