Any1 know how to do that??
Most source codes i've come across make use of window.h, I'm very curious on how to do that, plus it would contribute a lot to my project.
create a new window without window.h
Started by Kalanij, Dec 22 2008 11:37 AM
14 replies to this topic
#1
Posted 22 December 2008 - 11:37 AM
|
|
|
#2
Posted 22 December 2008 - 11:53 AM
It depends on your OS (I'm assuming Windows). You need to use the API, which will probably require you to include an appropriate header, such as window.h.
#3
Posted 22 December 2008 - 11:56 AM
Posted via CodeCall Mobile well since there is no standard way to create window in c/c++ u will have to use an external gui library such as windows.h,wxwidgets, qt so basically u can't avoid using an external library there are drag and drop tools for these libraries that u can use to create windows visually
#4
Posted 22 December 2008 - 12:22 PM
what are the gui libraries for this kind of stuff, I'm checking GTK but I'm having some trouble...
#5
Posted 22 December 2008 - 04:24 PM
There are a LOT of them. solartic mentioned several of the best known.
#6
Posted 22 December 2008 - 04:46 PM
mind mentioning some?
#7
Posted 22 December 2008 - 05:16 PM
As I said, solartic mentioned several (scroll up).
#8
Posted 22 December 2008 - 05:52 PM
other than the ones he mentioned, I already checked the ones solartic mentioned
#9
Posted 22 December 2008 - 06:07 PM
#10
Posted 23 December 2008 - 08:01 AM
It has no sense at all to use an external lib to just create a window !!!
Windows.h is just an include for Win32 api, which is the base in Windows
Windows.h is just an include for Win32 api, which is the base in Windows
#11
Posted 23 December 2008 - 08:43 AM
i don't want to use windows.h
I want to write that library myself
I want to write that library myself
#12
Posted 24 December 2008 - 12:00 AM
To create a window you have to have access to the operating systems structure. The only way to assess the structure of the program is to use its api. Since you have to use its api you must use the libraries that come with the api.
In the case of windows the access to that api is windows.h, the function included in that file are what you need to create the window. It makes no sense to try and create something as low level as the function needed to simply create a window.
Even if you wanted to create a directX window you still need to include windows.h.
Perhaps if you explained what you are wanting to do a little better then we could help you out more.
In the case of windows the access to that api is windows.h, the function included in that file are what you need to create the window. It makes no sense to try and create something as low level as the function needed to simply create a window.
Even if you wanted to create a directX window you still need to include windows.h.
Perhaps if you explained what you are wanting to do a little better then we could help you out more.


Sign In
Create Account

Back to top









