PDA

View Full Version : Window.SetSize problem/bug or me :D



Teqskater
02-15-2009, 01:33 PM
I don't know what's wrong but please look at my source code attached. It's a small simple program that fills the project window with images with a size of 10x10 pixels (those images are called pixels in the source). but when i set the size of the window something goes wrong. when i want to set the windows size for with example with:

Window.SetSize(Application.GetWndHandle(), Width, Height);
and the variables Width and Height hold the valuea 100 and 100 my screen would be the size of 100 pixels x 100 pixels but it's 124x100 pixels.

Just have a look at my attached source. it's just realy strange. and im no newbie. maybe it's just because im tired. Btw. when somebody fixes it you can expect the source code of the program realeased right here on those forums.
i want to create john conway's game of life and i know i can do that for sure.

You can also download it here:
http://www.megaupload.com/nl/?d=FKZYUDB0

Thanx in advance

Teq

Teqskater
02-16-2009, 05:49 AM
fixed it myself right now.
Something diffrent. I posted some examples in the example section a year ago and one thing never showed up there. In a few days maybe weeks i will post a new example in there. it's called John conways game of life.