Happyness and joy to you, Roger!!!
Your code show me the way.
In your code you use Autostretch=1 inside the OpenWindowedScreen, but this is not a problem.
This is the solution to my problem:
Global Larghezza.l
Global Altezza.l
Larghezza = 500
Altezza = 500
Procedure linea()
StartDrawing ...
Search found 25 matches
- Thu Sep 30, 2004 7:24 am
- Forum: Coding Questions
- Topic: Can't open a windowedscreen in a maximized window?
- Replies: 2
- Views: 1334
- Wed Sep 29, 2004 9:14 am
- Forum: Coding Questions
- Topic: Can't open a windowedscreen in a maximized window?
- Replies: 2
- Views: 1334
Can't open a windowedscreen in a maximized window?
Run this code and try to maximize the window
Global Larghezza.l
Global Altezza.l
Larghezza = 500
Altezza = 500
Procedure linea()
StartDrawing(ScreenOutput())
Line(0,0,Larghezza,altezza,RGB(255,0,0))
StopDrawing()
FlipBuffers()
EndProcedure
punt = OpenWindow(1, 100, 100, Larghezza ...
Global Larghezza.l
Global Altezza.l
Larghezza = 500
Altezza = 500
Procedure linea()
StartDrawing(ScreenOutput())
Line(0,0,Larghezza,altezza,RGB(255,0,0))
StopDrawing()
FlipBuffers()
EndProcedure
punt = OpenWindow(1, 100, 100, Larghezza ...
- Thu Sep 09, 2004 7:18 am
- Forum: Tricks 'n' Tips
- Topic: Speed Tetris (from Erix14 on french forum)
- Replies: 18
- Views: 8402
Good job
I don't like to play tetris but this game is great.
I take a look deeper inside the code.
Maybe I can learn something...
I take a look deeper inside the code.
Maybe I can learn something...

- Mon Aug 30, 2004 7:15 am
- Forum: Tricks 'n' Tips
- Topic: An alternative to FastFile...
- Replies: 5
- Views: 3112
- Wed Aug 25, 2004 3:57 pm
- Forum: Tricks 'n' Tips
- Topic: An alternative to FastFile...
- Replies: 5
- Views: 3112
An alternative to FastFile...
Code updated For 5.20+
Below is an example of useful functions to use in alternative of FastFile library made by Rings.
The FastFile library made by Rings is amazing and surely better than my poor code but consider that:
- With this code you don't depend from any libraries because it's all made ...
Below is an example of useful functions to use in alternative of FastFile library made by Rings.
The FastFile library made by Rings is amazing and surely better than my poor code but consider that:
- With this code you don't depend from any libraries because it's all made ...
- Fri Jul 30, 2004 2:34 pm
- Forum: Coding Questions
- Topic: How to get background color of a window?
- Replies: 5
- Views: 1610
- Fri Jul 30, 2004 11:11 am
- Forum: Coding Questions
- Topic: How to get background color of a window?
- Replies: 5
- Views: 1610
How to get background color of a window?
Hi,
when I use GetSystemColor I don't get the background color of a window
GetSysColor_(#COLOR_WINDOW)
give me the number 16777215 that is not the background color of the window.
16777215 it's the color with
RED = 255
GREEN = 255
BLUE = 255
There is another way to get the background color of ...
when I use GetSystemColor I don't get the background color of a window
GetSysColor_(#COLOR_WINDOW)
give me the number 16777215 that is not the background color of the window.
16777215 it's the color with
RED = 255
GREEN = 255
BLUE = 255
There is another way to get the background color of ...
- Fri Jul 23, 2004 5:02 pm
- Forum: Announcement
- Topic: Office Style Menus, Toolbars Coolbars and XP style/skinnable
- Replies: 23
- Views: 7358
- Fri Jun 25, 2004 9:02 am
- Forum: Coding Questions
- Topic: Printer's resolution
- Replies: 1
- Views: 1715
- Fri Jun 25, 2004 8:54 am
- Forum: Tricks 'n' Tips
- Topic: PrinterPageHorDPI() e PrinterPageVerDPI()
- Replies: 1
- Views: 2139
PrinterPageHorDPI() e PrinterPageVerDPI()
Code updated for 5.20+
Hallo,
this is a very simple code with which is possible to create the important functions PrinterPageHorDPI() e PrinterPageVerDPI() to know the DPI resolution of a printer.
If PrintRequester()
printer_DC.l = StartDrawing(PrinterOutput())
If printer_DC
Debug ...
Hallo,
this is a very simple code with which is possible to create the important functions PrinterPageHorDPI() e PrinterPageVerDPI() to know the DPI resolution of a printer.
If PrintRequester()
printer_DC.l = StartDrawing(PrinterOutput())
If printer_DC
Debug ...
- Tue May 11, 2004 1:37 pm
- Forum: General Discussion
- Topic: Can PHP and pureBasic communicate through port 80?
- Replies: 3
- Views: 1705
- Tue May 11, 2004 10:40 am
- Forum: General Discussion
- Topic: Can PHP and pureBasic communicate through port 80?
- Replies: 3
- Views: 1705
Can PHP and pureBasic communicate through port 80?
I explain better my question.
My company wants to make available through internet to his distributors the disponibility, the prices and other few things of our database.
The normal way is to make a web server but I don't like this way because a Windows web server is very dangerous to administrate ...
My company wants to make available through internet to his distributors the disponibility, the prices and other few things of our database.
The normal way is to make a web server but I don't like this way because a Windows web server is very dangerous to administrate ...
- Wed Apr 21, 2004 7:35 am
- Forum: Feature Requests and Wishlists
- Topic: [Implemented] Commas in 'select' statement?
- Replies: 8
- Views: 2276
Me too...
I need lthis feature.
It's not indispensable but it's frustrating to fill the code with
if...
if...
if...
if...
A solution maybe the use of commas (is the best solution) or the use of a 'break' instruction like in the C language.
Ciao
Alberto
It's not indispensable but it's frustrating to fill the code with
if...
if...
if...
if...

A solution maybe the use of commas (is the best solution) or the use of a 'break' instruction like in the C language.
Ciao
Alberto
- Wed Apr 14, 2004 10:20 am
- Forum: Windows
- Topic: What happened to _lclose_()?
- Replies: 2
- Views: 2056
Eureka!!
CloseHandle works well.
Many thanks
Alberto
Many thanks
Alberto

- Wed Apr 14, 2004 8:32 am
- Forum: Windows
- Topic: What happened to _lclose_()?
- Replies: 2
- Views: 2056
What happened to _lclose_()?
I dont know if this is a bug but try to execute the code of this topic
http://forums.purebasic.com/english/viewtopic.php?t=5270&highlight=lclose
The code works good on PureBasic 3.70 but on the next releases till 3.90 it doesn't function. The PureBasic tells me:
_lclose_() is not a function, an ...
http://forums.purebasic.com/english/viewtopic.php?t=5270&highlight=lclose
The code works good on PureBasic 3.70 but on the next releases till 3.90 it doesn't function. The PureBasic tells me:
_lclose_() is not a function, an ...