wincreateoffscreenwindow on garnet simulator doesn't do nativeFormat

2006-05-18 Thread Troy Lokitz
On the garnet simulator, nativeFormat won't work (it returns a null pointer), but on my verizon simulator, it works fine. Is there a way to get it to work? If not, how can I test to see if I am on the simulator so that it will do screenFormat on the simulator and nativeFormat on any real

undefined identifier 'nativeFormat', for WinCreateOffscreenWindow

2005-04-05 Thread Brian Preston
I'm migrating a CW project from one computer to another, and resuming work on this project after several months lull. When I build it on the new machine, I get the error in the subject when trying to use the WinCreateOffscreenWindow function. The compiler will recognize screenFormat

Re: undefined identifier 'nativeFormat', for WinCreateOffscreenWindow

2005-04-05 Thread Robert Moynihan
Brian Preston wrote: I commented it out, just to see if I could get my app running on the emulator (which it was doing fine on the old machine). It ran fine until I tried to call WinGetBounds(), where it said that routine doesn't exist in this version of the PalmOS. That function doesn't exist

Re: undefined identifier 'nativeFormat', for WinCreateOffscreenWindow

2005-04-05 Thread Ben Combee
At 08:55 PM 4/5/2005, you wrote: I'm migrating a CW project from one computer to another, and resuming work on this project after several months lull. When I build it on the new machine, I get the error in the subject when trying to use the WinCreateOffscreenWindow function. The compiler

about WinCreateOffscreenWindow

2003-05-30 Thread Miken
In OS3.5,I can use WinCreateOffscreenWindow: { WinHandle theWindowHandle; theWindowHandle = WinCreateOffscreenWindow( theBoundsPtr-extent.x,theBoundsPtr-extent.y,screenFormat,theError ); } I can copy theWindowHandle-bitmapP to BitmapPtr variable. But In OS5,I use the same code ,I find

WinCreateOffscreenWindow, nativeFormat question...

2003-03-07 Thread Jeff Diamond
I have noticed that on the PalmOS Simulator, if I create an off screen buffer using nativeFormat, then the resulting Bitmap is ALWAYS 16-bit color (LE), regardless of what color depth mode the device is in. (In my case it is in 8-bit mode.) Is this the intended way nativeFormat is supposed

Re: WinCreateOffscreenWindow, nativeFormat question...

2003-03-07 Thread jeffreyrdiamond
Solved the issue: The problem was that you have to call WinSetCoordinateSystem(kCoordinatesNative); before every single graphics call, 'cause it's always being set back to low resolution. In this case, I forgot to call it again right before creating my offscreen window. So when I told it to

WinCreateOffScreenWindow and fields

2002-11-04 Thread Bill Andreozzi
Due to some of the font issues with the 4.x Sony Hi-Res, in order to use a custom font within a popup dialog within a field, one must draw it first in an offscreen window at the correct resolution, then when it actually gets redered it'll appear correctly. Has anyone does any work in regards to

WinCreateOffscreenWindow problem in emulator

2002-08-13 Thread sunita rawat
Hi, Whenever I run Gremlins in emulator, I get 2 memory leak corresponding to WinCreateOffscreenWindow thogh i have not used this function in program. I have used bitmaps in my application. Does it relates to that? Will this problem come up in real device also? Please help me out. Regrads

WinCreateOffscreenWindow and Different Bit Depth

2002-07-11 Thread Mike McCollister
Is there a way for WinCreateOffscreenWindow to create a window of a bit depth that is not the current. Right now I can create a 16-bit offscreen window by putting the device into 16-bit mode creating it and putting it back into the native 8-bit mode. However, this causes some unpleasing flash

Re: WinCreateOffscreenWindow and Different Bit Depth

2002-07-11 Thread Tilo Christ
Hi! Is there a way for WinCreateOffscreenWindow to create a window of a bit depth that is not the current. Right now I can create a 16-bit offscreen window by putting the device into 16-bit mode creating it and putting it back into the native 8-bit mode. However, this causes some

Re: WinCreateOffscreenWindow and Different Bit Depth

2002-07-11 Thread Mike McCollister
Tilo, --- Tilo Christ [EMAIL PROTECTED] wrote: Hi! Is there a way for WinCreateOffscreenWindow to create a window of a bit depth that is not the current. Right now I can create a 16-bit offscreen window by putting the device into 16-bit mode creating it and putting it back

Palm OS Simulator DR8 and WinCreateOffscreenWindow

2002-03-20 Thread Mike McCollister
I just downloaded PalmOS Simulator DR8 and noticed that the WinCreateOffscreenWindow creates a window that is too small by one pixel in both the x and y directions. FYI. Mike McCollister __ Do You Yahoo!? Yahoo! Sports - live college hoops

WinCreateOffscreenWindow 8bpp color == Eat'em Up Memory

2002-02-27 Thread George Aslanis
= WinCreateOffscreenWindow(rect.extent.x,rect.extent.y,screenFormat,BadaBOOM) ; BadaBOOM |= (Boolean)(gHelp-helpWindow == NULL); Allows us to create a good sized scrollable window for devices with depths less than 8bpp. Obviously 8bpp color devices cause an allocation 64K which is wasteful

Re: WinCreateOffscreenWindow 8bpp color == Eat'em Up Memory

2002-02-27 Thread Aaron Ardiri
},{145,489}}; gHelp-helpWindow = WinCreateOffscreenWindow(rect.extent.x,rect.extent.y,screenFormat,BadaBOOM) ; BadaBOOM |= (Boolean)(gHelp-helpWindow == NULL); Allows us to create a good sized scrollable window for devices with depths less than 8bpp. Obviously 8bpp color devices cause

Re: WinCreateOffscreenWindow 8bpp color == Eat'em Up Memory

2002-02-27 Thread Aaron Ardiri
On Thu, 28 Feb 2002, Aaron Ardiri wrote: Questions: If the displayed text graphics only requires 4 to 8 colors in total do we have to allocate for 8bpp? Does creating a custom palette help to minimize heap requirements? yes, it would. :) bah.. before you nag me about how.. look at

Howto use Fields WinCreateOffscreenWindow in PalmOS3.1?

2002-01-21 Thread George Aslanis
Hello, Using Handspring Visors w/ PalmOS3.1. I've created off screen windows to speed up my displays using WinCreateOffscreenWindow. But I am finding the Field updates still occur on the display window. How can I re-locate the display pointer to my off screen window? Thanks for your help

WinCreateOffscreenWindow Sample

2001-10-18 Thread Júlio Fábio de O. Chagas
Please, If you have some sample code using WinCreateOffscreenWindow and how to put some controls inside, and update the Form with his content, send to me, PLEASE %( -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support

RE: WinCreateOffscreenWindow

2001-04-26 Thread DeAnna Davidson
So it sounds like WinCreateOffscreenWindow has done what you asked, successfully. (You could always look at the struct in the debugger to verify.) ... In any case, it can't handle allocating 64k, even if there wasn't an overflow problem, so don't ask it to :-) I'm not really controlling

WinCreateOffscreenWindow

2001-04-25 Thread DeAnna Davidson
OK, so either I'm completely losing my mind of something is screwy here. On devices 3.5, I'm making a WinCreateOffscreenWindow call. As far as I can figure, WinCreateOffscreenWindow shouldn't create the window and should return an error if the dimensions I pass are too large - requiring a memory

Re: WinCreateOffscreenWindow

2001-04-25 Thread Aaron Ardiri
doesn't support allocating something 64k, but since the offscreen window is always 1-bit, it'd have to be a pretty large window to go past that. However this isn't correct. As documented in WinCreateOffscreenWindow, and I can attest to the documentation being correct

RE: WinCreateOffscreenWindow

2001-04-25 Thread Richard Burmeister
From: Steve Patt The usually reliable David F. wrote: And no, it doesn't support allocating something 64k, but since the offscreen window is always 1-bit, it'd have to be a pretty large window to go past that. However this isn't correct. I, for one, am shocked! And to think that I

RE: WinCreateOffscreenWindow

2001-04-25 Thread Aaron Ardiri
The usually reliable David F. wrote: And no, it doesn't support allocating something 64k, but since the offscreen window is always 1-bit, it'd have to be a pretty large window to go past that. However this isn't correct. I, for one, am shocked! And to think that I referred to

Re: WinCreateOffscreenWindow

2001-04-25 Thread David Fedor
The usually reliable David F. wrote: And no, it doesn't support allocating something 64k, but since the offscreen window is always 1-bit, it'd have to be a pretty large window to go past that. However this isn't correct. As documented in WinCreateOffscreenWindow, and I can attest

WinCreateOffscreenWindow question

2001-01-18 Thread McCollister, Mike
Hi, When I create an offscreen window using WinCreateOffscreenWindow, is the handle created locked? I am assuming that it is since I get a bus error when I try to lock the handle. Now the real question is how do I get the pointer for the offscreen data? For example, the call below I get

Re: WinCreateOffscreenWindow question

2001-01-18 Thread Dave Carrigan
"McCollister, Mike" [EMAIL PROTECTED] writes: Now the real question is how do I get the pointer for the offscreen data? For example, the call below I get a handle called hOffscreen. Do you mean you want to access the bitmap? If so, WinGetBitmap() in palmos 3.5 and higher. In earlier palmos

Re: WinCreateOffscreenWindow question

2001-01-18 Thread Aaron Ardiri
When I create an offscreen window using WinCreateOffscreenWindow, is the handle created locked? I am assuming that it is since I get a bus error when I try to lock the handle. Now the real question is how do I get the pointer for the offscreen data? For example, the call below I get

RE: WinCreateOffscreenWindow question

2001-01-18 Thread McCollister, Mike
, January 18, 2001 3:31 PM To: Palm Developer Forum Subject: Re: WinCreateOffscreenWindow question When I create an offscreen window using WinCreateOffscreenWindow, is the handle created locked? I am assuming that it is since I get a bus error when I try to lock the handle. Now

RE: WinCreateOffscreenWindow question

2001-01-18 Thread Aaron Ardiri
Once again you come through. Wonderful help. should i invoice you? :) Now do you happen to know if there is a function or macro in the Palm OS headers that does this? UInt16 RGB16; RGB16 = ((RGBColor.r 0xF8) 8) + ((RGBColor.g 0xFC) 3) + ((RGBColor.b 0xF8) 3); good question

WinCreateOffscreenWindow

2000-11-02 Thread DeAnna Davidson
Hello all, I just curious if anyone knows of any special memory allocation or fragmentation issues associated with WinCreateOffscreenWindow. I have an app where I create (if necessary) an offscreen window that's used temporarily and then deleted. Over the course of the app (or a million

search palm-dev-forum wincreateoffscreenwindow

2000-08-29 Thread Ben Liu
search palm-dev-forum wincreateoffscreenwindow -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: search palm-dev-forum wincreateoffscreenwindow

2000-08-29 Thread krollin
D] cc:(Keith Rollin/US/PALM) Subject: search palm-dev-forum wincreateoffscreenwindow search palm-dev-forum wincreateoffscreenwindow -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/ -- For inform

RE: WinCreateOffscreenWindow() with desired depth - without flicker?

2000-08-16 Thread Prashant Verma
David, Thanks, that should work!! -Prashant -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of David Fedor Sent: Tuesday, August 15, 2000 10:59 AM To: Palm Developer Forum Subject: Re: WinCreateOffscreenWindow() with desired depth - without flicker? How

WinCreateOffscreenWindow() with desired depth - without flicker?

2000-08-15 Thread Prashant Verma
WinScreenMode(winScreenModeSet, NULL, NULL, depth, NULL); WinCreateOffscreenWindow(width, height, screenFormat, error); This works, but I get an annoying flash on the screen. Is there any way to set the depth of the offscreen window to something that is different freom the depth of the main

Re: WinCreateOffscreenWindow() with desired depth - without flicker?

2000-08-15 Thread David Fedor
How can I create an offscreen window of a desired UInt32 depth (say 1bpp), where the depth is different from that of the display screen (say 2bpp). I can't think of a better way, prior to Palm OS 3.5. But as of 3.5, you can use BmpCreate and then WinCreateBitmapWindow to use any depth (and/or

Re: emulator and WinCreateOffscreenWindow

2000-05-13 Thread Ewaryst Izewski
Thank you. The answer helped me to find a bug. Ewaryst Izewski - Original Message - From: [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Saturday, May 13, 2000 12:26 AM Subject: Re: emulator and WinCreateOffscreenWindow Since many of the built-in apps and sample

emulator and WinCreateOffscreenWindow

2000-05-12 Thread Ewaryst Izewski
OK. I'll ask again. Maybe this time somebody will share his (or her) wisdom with me. Is it normal that when I call WinCreateOfscreenWindow or WinSaveBits the emulator displays the message: "'Your program' has just tried to write to the ROM"? If it is, can I stop the emulator annoying me with such

Re: emulator and WinCreateOffscreenWindow

2000-05-12 Thread krollin
ase respond to "Palm Developer Forum" [EMAIL PROTECTED] Sent by: "Ewaryst Izewski" [EMAIL PROTECTED] To: "Palm Developer Forum" [EMAIL PROTECTED] cc:(Keith Rollin/HQ/3Com) Subject: emulator and WinCreateOffscreenWindow OK. I'll ask again. Maybe this ti