Registered two notifications:
error = SysCurAppDatabase(cardNo, dbId);
SysNotifyRegister(cardNo, dbId, sysNotifyMenuCmdBarOpenEvent, NULL,
sysNotifyNormalPriority, NULL);
SysNotifyRegister(cardNo, dbId, sysNotifyKeyboardDialogEvent, NULL,
sysNotifyNormalPriority, NULL);
But can only
Hi everyone,
Earlier this week I had a problem moving resource files from Mac to Windows,
and thanks to the advice I received on this forum, I learned how to move the
files successfully. I can now open the files using Constructor in Windows,
and edit them without any problems. However, I can't
How to set the font used by a list has been discussed on this group
before, but I haven't found a solution to how to change both the font
and the font _height_. I can specify a font in the resource, and
change the font with LstGlueSetFont, but in either case the amount of
vertical space allocated
Ken,
I got some similar problem ( but for Windows project only, I don't have
Mac ) but don't remember exactly how I fixed it. IIRC, I removed all the (
considered invalid ) resource files out of the projects, and then added them
again.
Or, you can re-create a new project, then add all of the
Manuel,
Thanks for your reponse and the tip to use
WinScreenMode. However, when I use that function to
change the depth, the only thing it seems to affect is
the color, not the density. For example, when I set
the depth to 4, that changed the display to a
grey-scale mode. When I changed it to 8
Here is a peace of code:
typedef struct tagRGBTRIPLE {
UInt8Red;
UInt8Green;
UInt8Blue;
} RGBTRIPLE;
UInt8 gustrArray[256];
void foo(void)
{
Int16 intI;
RGBTRIPLE *rgbpTriplet;
UInt8 uchrR,uchrG,uchrB;
for (intI=0;intI256;intI++)
{
I'm trying to draw a graph in hi-res, if available on the PDA. My current
code calls WinCreateOffscreenWindow to create the window to draw to. Later,
after I do my drawing, I call WinCopyRectangle to draw this to the screen.
Now, in hi-res, I'm confused. I know I have to set the coordinate
On Sat, 7 Feb 2004 10:48:46 -0500, Regis St-Gelais
[EMAIL PROTECTED] wrote:
Here is a peace of code:
typedef struct tagRGBTRIPLE {
UInt8Red;
UInt8Green;
UInt8Blue;
} RGBTRIPLE;
UInt8 gustrArray[256];
void foo(void)
{
Int16 intI;
RGBTRIPLE
I did test this on OS 5 simulator and read device.
Thanks
--
Alex
Alex [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Registered two notifications:
error = SysCurAppDatabase(cardNo, dbId);
SysNotifyRegister(cardNo, dbId, sysNotifyMenuCmdBarOpenEvent, NULL,
At 08:38 AM 2/7/2004, you wrote:
Earlier this week I had a problem moving resource files from Mac to Windows,
and thanks to the advice I received on this forum, I learned how to move the
files successfully. I can now open the files using Constructor in Windows,
and edit them without any problems.
I can specify a font in the resource, and
change the font with LstGlueSetFont, but in either case the amount of
vertical space allocated is as per the default font, which is not what
I want. The list widget correctly handles built-in fonts of different
sizes, so the height's not hard coded or
I can specify a font in the resource, and
change the font with LstGlueSetFont, but in either case the amount of
vertical space allocated is as per the default font, which is not what
I want. The list widget correctly handles built-in fonts of different
sizes, so the height's not hard coded or
hi,
i'm getting an invalid read error while using
MemMove function. i've locked the memory chunk before
using it in MemMove.[tried using both memhandlenew and
memptrnew].
Actually i'm using it in the callback function of
sndstreamcreate(input).
plz consider the fact tht i'm working on a
Launch of POSE or Sim works from CW. But debug or run from CW yields the
following message:
Attempting a socket connection to Palm OS Emulator or Simulator. Will
timeout in 10 seconds...
This is followed by a dialog box saying connection failed.
I can drop a prc file one either
At 04:52 PM 2/7/2004, you wrote:
Launch of POSE or Sim works from CW. But debug or run from CW yields the
following message:
Attempting a socket connection to Palm OS Emulator or Simulator. Will
timeout in 10 seconds...
This is followed by a dialog box saying connection failed.
I can drop a prc
At 07:36 AM 2/6/2004, you wrote:
I'm writing a launcher app, and want to display the icons of the all
applications. I have the Creator ID and the database of the PRC file.
Open the application's database and retrieve the 'tAIB' 1000 and 1001
resources. 1000 will be the large icon, 1001 will be
I am working on a PalmOS version of a UI library (Glk), and have run
into a problem I don't see an easy solution to.
The issue is that the control flow for this library looks like this:
PilotMain (provided by me) calls
glk_main (provided by author of Glk-using program) calls
glk_select
Having trouble with this:
I have a program where I want someone to press and hold a button. For as
long as they hold the pen down on the button, I want a timer on the screen
to increment and update it's display.
Right now I'm doing the following within the ctrlEnterEvent:
(Thanks to Aaron
I've just written the following code:
Int32 value = 1 16;
Compiling with gcc and PRC-Tools, sdk5-r3, I get the following warning:
warning: left shift count = width of type
Shifting left by 15 doesn't generate the warning. Anybody have a clue
about what's going wrong, here?
Trevor Powell
--
Trevor,
At the time the compiler evaluates an expression, it doesn't take into account the
type of the storage you'll ultimately be putting it into. That means that the
compiler doesn't know that 1 16 will be put into an Int32. Therefore, it
evaluates the expression based on the types at
I've just written the following code:
Int32 value = 1 16;
Compiling with gcc and PRC-Tools, sdk5-r3, I get the following warning:
warning: left shift count = width of type
Shifting left by 15 doesn't generate the warning. Anybody have a clue
about what's going wrong, here?
Ah, never
With POSE running, netstat -a shows the following relavent entry:
TCP desktop:2000 desktop:0 LISTENING
When I exit POSE, this entry goes away. Looks like PSOSE is ready for
connection, but CW doesn't get there.
Have tried using EndItAll to kill everything running, then try the CW to
POSE
Success!!
Your comments about McAfee got me to poking around.. Turns out that CW was
blocked from internet access. Don't remember why I did that, but guess I am
too paranoid. Allowing access corrected the problem.
Thanks for your thoughts.
Ben Combee [EMAIL PROTECTED] wrote in message
23 matches
Mail list logo