Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,574 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Windows API #147875
08/14/07 13:12
08/14/07 13:12
Joined: Jun 2006
Posts: 214
Germany, NRW
T
TheThinker Offline OP
Member
TheThinker  Offline OP
Member
T

Joined: Jun 2006
Posts: 214
Germany, NRW
Hallo,
I am testing the windows.h now, but I don't understand much about the windows API.
1. Is there a Tutorial (an easy one) that can help me.
2. Is there an overview out with a description of all commmon API functions
3. Is it possible to run the enginge in legancy mode (acknex.h included) in fullscreen mode and using the windows API (like menubar messageboxes) in the native renderwindow of the enginge. Or Do Ineed to create a new Window and set it up as a targetwindow.
4. What is the type "RECT*"

The only thing I get to work is a message box and a menubar in windowmode. But I am not able to set up events, if i click them.
That's are a lot of questions. If you can answer one or two, I will be very happy
Patrick

Re: Windows API [Re: TheThinker] #147876
08/14/07 21:20
08/14/07 21:20
Joined: Mar 2007
Posts: 677
0x00000USA
M
MrCode Offline
User
MrCode  Offline
User
M

Joined: Mar 2007
Posts: 677
0x00000USA
Try simply Googling up "Windows API Tutorials". I did, and the first few results on the page were actual tutorials. I don't know if any of them are "easier" than another, but you can look if you want.


Code:
void main()
{
    cout << "I am MrCode,";
    cout << "hear me roar!";
    system("PAUSE");
}
Re: Windows API [Re: MrCode] #147877
08/16/07 14:10
08/16/07 14:10
Joined: Jun 2006
Posts: 214
Germany, NRW
T
TheThinker Offline OP
Member
TheThinker  Offline OP
Member
T

Joined: Jun 2006
Posts: 214
Germany, NRW
Ok,now I understand the windows API a bit. I have succes with creating a window, handle messageloops, creating buttons and so on.
But my questiuon:
Is there a chapter in the manual, which discribes how to use the engine and enginefunctions togehter with the windows-API?
The problem is, that the messageloop blocks the other processes in the engine, if i use the API.
I know the chapter under "Higher languages", but I don't want to use C++, only Lite-c, the angine and the windows-Api.
Please, is somebody here who can help me?
MfG,
Patrick

Re: Windows API [Re: TheThinker] #147878
08/16/07 20:27
08/16/07 20:27
Joined: Mar 2007
Posts: 677
0x00000USA
M
MrCode Offline
User
MrCode  Offline
User
M

Joined: Mar 2007
Posts: 677
0x00000USA
Quote:

I have succes with creating a window




Man, I wish I could have gotten that far...

My windows.h is broken (wierd syntax error messsage in compiler window).

Re: Windows API [Re: MrCode] #147879
08/17/07 16:56
08/17/07 16:56
Joined: Jun 2006
Posts: 214
Germany, NRW
T
TheThinker Offline OP
Member
TheThinker  Offline OP
Member
T

Joined: Jun 2006
Posts: 214
Germany, NRW
Oh, yes, I have the same problems with the tutorial code from the net. But I have put the mandelbrot_legancy window with the example code from the net together and modified it for my wishes. So far so good. But I don't want to draw every pixel with a dirctx function. I hope sometimes a more clear tutorial is included into the gamestudio manual

Re: Windows API [Re: TheThinker] #147880
08/18/07 12:40
08/18/07 12:40
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
the windows api is overwhelmingly huge. if you want to learn it, start by writing native win32-applications with another compiler (not lite-c). if you've a specific question, i can try and help you out.

joey.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1