Bah, forget this whole google thing, _Elixia_ saved our ..........es :D
Im at 94% download, I hope it is what I think it is :)
It was quite annoying anyway how MSDN throwed you a tons of pages when...
Type: Posts; User: freedik
Bah, forget this whole google thing, _Elixia_ saved our ..........es :D
Im at 94% download, I hope it is what I think it is :)
It was quite annoying anyway how MSDN throwed you a tons of pages when...
So "threads" is the magic word. I suspected that they could be key to solution but they looked too scary(read: complicated) to get deeply into right away :p.
You see, I'm learning programming...
Heh, that's an interesting experiment you got there. Didn't get any good ideas from there tho. I need some Windows programming concept but I'm not even sure what I'm looking after. I don't want to...
Excuse me my ignorance but... I still haven't figured out how to do it. It's actually about how to build up the program.
I want my program to control some physical process. It needs to supervise...
Gee, thanks a lot :)
No more waiting for MSDN server.
Dam! I wish I knew that earlier!
The DevC packages are definetely great things, too bad I can't get em cause I'm heavily firewalled here. I'll get them at home and upload to my HTTP server, so...
I meant "can't find anything" literally. I enter the keyword while staring at it on the navigation menu tree (WM_CREATE for example) and search comes up with nothing at all. At least 'windows' or...
Periodically search yields no results in that site. Sometimes it works great, sometimes can't find absolutely anything. Is it happening to everyone or is it just me?
Are there some other options...
I haven't done any games or anything like that myself but I think you should use offscreen drawing. There's a lot of information about it in MSDN. Basicly you draw your things and then BitBlt them to...
The GetTickCount function retrieves the number of milliseconds that have elapsed since the system was started. Use a little math if you need dates or daytime.
It's limited to 49 days but I doubt if...
That's why I made this thread. There's a difference between lacking knowledge and being unreasonable.
Thank you both, these 2 things are exactly what I was looking for.
SetTimer would probably be best solution but in my case inserting some Sleep(fewmillisecs) here and there will probably be...
As some of you have noticed, I'm new to winprogramming :)
My aim is to create a program that would send messages to some other program, without user interference, with specified delays.
Currently...
Heres the pic of window hierarchy:
http://www.zone.ee/freedik/tree.jpg
I need to get a window handle that is located in the branch shown with arrow. Trying to find it using FindWindowEx.
Notice...
Thanks novacain for pointing out this example, but yesterday I already managed to create a function that saves HBITMAPs to BMPs. Now I'm trying to figure out how to do opposite action:)
Dang, I...
That's more or less what I thought about it... In my own fuzzy noob way :)
But this handle is still some kind of variable, such as int. Right?
I guess it means that I can't get bitmap data from...
I've been learning winprogramming for several days now but I still haven't found out what EXACTLY are HWND,HBITMAP,HDC etc. I understand that theyre some sort of handles, but what type? No...
Thats what I thought too. But windows cant find this window simply by class name(it has no title). Could it have anything to do with this "index" attribute that spy program showed me about this...
Oh my god! I just found out that the window I want to use is over 10 levels lower than its topmost parent. Does that mean that I have to write over 10 FindWindowEx's to finally get my handle?
The...
Getting smarter...
Looked up at WinSight that notepads class is "Notetab" and used wnd = FindWindow("Notepad",NULL); instead. Also found out that I have to target it's child window ("Edit") instead....
Does the following code make any sense at all or am I way off?
wnd=FindWindow(NULL,"target window");
SendMessage(wnd,WM_RBUTTONDOWN,0,LPARAM(100,100));
The idea is to simulate a mouseclick...
I started learning C++ for windows just yesterday, I had experience in DOS and UNIX C++.
Dev-C++ is FREE. Also one can download Borland C++ builder 60 day trial for FREE. So no need to blame ppl in...