One basic approach: 

o   Use Bitmaps (drawn via WinDrawBitmap()) for the Icons.
o   Detect Pen events, looking for a PenDownEvent and a 
    following PenUpEvent inside the bitmap boundary to 
    indication that the Icon has been selected and launch 
    your function.
o   Use WinInvertRectangle() to provide feedback when the 
    PenDownEvent is detected -- restore on the PenUpEvent 
    and also if a PenMoveEvent indicates that the pen was 
    moved off the bitmap before the pen was lifted.
o   Scroll by clearing and redrawing the form with the 
    bitmap positions recalculated.

Regards, Nick


-----Original Message-----
From: Hitesh Patel [mailto:[EMAIL PROTECTED]]
Sent: Friday, 21 January 2000 12:30
To: [EMAIL PROTECTED]
Subject: Re: [showing Icons in my application]


Please help me some one. I placed the question below yesterday but i
recieved
no reply. Is it that no one has a solution to my problem or have i missed on
something.

Plese find a solution for me .

Thanks,

Hitesh.

Hitesh Patel <[EMAIL PROTECTED]> wrote:
Hi,

I require to show icons in my application like the application icons as we
see
when we start the palm device.When we click on those icons it launches a
specific application.I want to implement the same functionality.(I believe
that the application icons are arranged in a table)

How do I go about this?

I also require to  scroll the icons to show other icons in the same way as
we
scroll application icons on the main screen of the palm device.How do i
implement the scrolling function?

I would be very glad if someone could help me solve this.A bit of source
code
would be most welcome.

Thanks,

Hitesh

Reply via email to