This site is no longer active and is available for archival purposes only. Registration and login is disabled.

a few enoying problems


a few enoying problems

Postby mago » Jun 27, 2002 @ 12:40am

User avatar
mago
pm Member
 
Posts: 9
Joined: Feb 5, 2002 @ 11:09am


Postby Dan East » Jun 27, 2002 @ 2:37am

1: If your talking about a ListView control, then you can. If you are really talking about a drop ListBox, then it would take some serious customization to add that capability. In that case I surmise the simplest thing would probably be to catch the drop-down event, and display a "popup" ListView control for the user to make their selection. Also try searching CodeGuru.com. If you are using MFC then they have a ton of hybrid controls.

2: That is the default behavior of a dialog box. Capture the WM_KEYDOWN message for VK_RETURN and do not call the framework / default WndProc implementation (instead you can set focus to the next control just as Tab does, etc). If you have a multiline edit box and want to allow the user to enter multiple lines of text with carriage returns, then you have to set the ES_WANTRETURN style for the edit control.

3: Certainly. You receive key events in pairs; Key Down and Key Up. Obviously if you receive Key Down events for two different keys, without a correspondig Key Up, then both keys are down at once.

Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Hosed » Jun 27, 2002 @ 4:38am

L. L. Goodwin<BR>Purveyor of Code<BR><A href="http://www.planettribes.com/hosed/">Hosed's House of Code</A>
User avatar
Hosed
pm Member
 
Posts: 249
Joined: Jan 3, 2002 @ 2:51am
Location: Montana, USA


Postby mago » Jun 27, 2002 @ 11:59am

User avatar
mago
pm Member
 
Posts: 9
Joined: Feb 5, 2002 @ 11:09am


Postby BurningSheep » Jun 27, 2002 @ 3:38pm

Do you want custom Snails levels? Click
User avatar
BurningSheep
pm Insider
 
Posts: 1226
Joined: Apr 12, 2002 @ 11:49pm
Location: The Netherlands


Postby James S » Jun 27, 2002 @ 9:00pm

<img src="http://home.comcast.net/~sonne/james/tag.gif">
James S
pm Insider
 
Posts: 17064
Joined: Jan 12, 2002 @ 2:33pm
Location: Lexington, KY


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron