Thanks to a line of code kindly given to me by forum user "dodicat" , this line : screenres W,H,,, &h08 '&h08 is no frame (see fbgfx.bi in the inc folder)
I got spurred into checking up and try to to learn more about ScreenRes .
So I played around a little with a few lines of code , read some manual and also in the end also peeked into the fbgfx.bi in the inc folder of FreeBasic on my harddrive.
So I have two questions in that connection , first question :
This code will create a frame less window
Code: Select all
dim as integer W,H
screeninfo W,H
screenres W-200,H-200,,, &h08
Sleep
------------------------------------------------
Second question :
This code compiles without problems :
Code: Select all
dim as integer W,H
screeninfo W,H
screenres W,H,,, &h08
Code: Select all
#include "fbgfx.bi"
Using FB
dim as integer W,H
screeninfo W,H
screenres W,H,,, GFX_NO_FRAME
Further more , from studying the manual section for ScreenRes then I have seen that the &h08 must be a flag that is referred to by flag name GFX_NO_FRAME , which makes me think that the &h08 must be some internal reference or something for compiler since it do not require any include or namespace reference (?)
So then my question is : But then where are the list of other stuff like &h08 and the proper description (I mean apart from what is listed in and related to the fbgfx.bi ) ???