Type: Posts; User: 12oclocker
Search took 0.01 seconds.
November 5th, 2013, 05:21 PM
just found something interesting...
very old article, but if I did need two threads to sendmessage...
November 5th, 2013, 11:08 AM
I got an idea, I think I will use LWA_COLORKEY and SetLayeredWindowAttributes for the main dialog, and create a child control static box with a specific color I want to be transparent, then I will...
November 5th, 2013, 10:50 AM
Problem is I need the child control to do it's DC operations in it's own thread, or it freezes the main dialog every X ms.
I'm updating images very frequently in the child control, and it is causing...
November 4th, 2013, 07:34 PM
I created a dialog with a child control, child control has it's own thread and message pump, and it has the dialog window set as the parent.
Is this a bad idea?
I already noticed I cannot wait on...
One thing to also check for is GDI object leaks, many people check for mem leaks, but if your leak GDI it is just as bad, and can cause the problem you are describing as well. Process Explorer from...
Thanks for the link, so I guess after creation you are stuck....
this did work.....
HWND hHdr = ListView_GetHeader(m_lsv1.m_hWnd);
LONG stl = GetWindowLong(hHdr,GWL_STYLE);
Win32API (no MFC) in Windows 7
once a listview control is created, if I add the style LVS_NOSORTHEADER, it has no effect, is does not disable the column buttons. Anyone have any ideas?
November 2nd, 2011, 11:00 PM
November 2nd, 2011, 08:22 PM
Thanks SMA, I created a new empty project, and copied and pasted those examples in, and re-linked to the libraries, then "connect" behaved as expect. So I'll need to do some digging to see why it's...
November 1st, 2011, 08:02 PM
Unaltered MS code does the same thing.
I'm not setting myself up as a server, I am connecting to my appache server on another computer when I want to test a good connection, and just making up fake...
November 1st, 2011, 12:03 PM
Running on windows 7,
using example code...
my "connect" function always immediately returns 0; even when not...
October 30th, 2011, 08:29 PM
Maybe that's why anything that's not small bothers me, most of my work now days is embedded system stuff, everything must be very tight, some stuff is still desktop apps, and some of which must...
October 30th, 2011, 02:12 PM
I see I upset you somehow with my opinions, no I don't want your old TRS-80, I already have one, and it's my main PC of course. thanks though, (<-kidding) I'm still not compelled by the argument,...
October 30th, 2011, 12:01 AM
I could probably make a bloat sandwich from it. lol, Microsoft should call themselves, GigaSoft, since every attempt I have seen thus far at "re-inventing" how things are done just bloats the...
October 29th, 2011, 03:46 PM
I ended up having to write my own overlay stuff from scratch. never could get this working. maybe a hardware compatibility thing, I read on MSDN how this VMR7 overlay stuff was very hardware...
October 27th, 2011, 01:23 AM
I'm using directshow, using VMR-7 IVMRWindowlessControl video..
I can't get SetAlphaBitmap to work.
SetAlphaBitmap returns S_OK, and acts like a bitmap was set on the video, but I see nothing.
December 5th, 2010, 01:54 AM
nope, been researching this all day, I know this thread is old and dead, and I'm 7 years too late, lol, but I'll post this here for others to read in the future, since I have found no explanation on...
November 10th, 2010, 12:06 AM
if your having trouble with the RichEdit control not displaying the proper cursor during a right click contextmenu, here is the fix for it...
////the message handler
October 31st, 2010, 10:51 AM
Im using CreateDialogParam, to make a modeless dialog,
I did figure out a work around, I trap the VK_RETURN message inside the richedit control, and use DM_GETDEFID to get the default button ID in...
October 31st, 2010, 01:35 AM
I make a modeless dialog with this...
my dialog has 2 richedit controls, and 1 button, I want the ENTER key to activate the button,
I have the button set as default in the...
October 31st, 2010, 12:56 AM
solved, use "Clip children" in dialog resource to prevent flickering, not erasebkg processing override needed anymore ;-)
October 30th, 2010, 11:52 PM
How to accomplish the "OnEraseBkgnd(CDC* pDC)" equivalent without MFC?
Win32API gives you DialogProc, which only allows you to return TRUE or FALSE, I cannot call a default dialogproc, then do...
October 30th, 2010, 04:23 PM
nevemind, I found the problem, I was deleting the string inside of the callback, I changed that so I don't do that anymore, thus why it only worked in debug mode, when not in debug mode a deleted...
October 30th, 2010, 04:01 PM
Im using codeblocks ide, with GNU GCC compiler,
code WILL work in debug mode, but FAILS when you just execute the EXE without the debugger!
problem is, when using SF_TEXT|SFF_SELECTION options to...
October 22nd, 2010, 10:41 AM
ok, I figured it out, winXP must be specifying a 1px boarder of non-client area, and downsizing the client area of the control, so I did this to override that and make win7 and winxp both have the...
Click Here to Expand Forum to Full Width