Click here to Skip to main content
15,889,403 members
Home / Discussions / Mobile
   

Mobile

 
AnswerRe: Problem with Socket over WLAN when client PDA powers down [modified] Pin
sivaddrahcir24-Mar-09 11:19
sivaddrahcir24-Mar-09 11:19 
QuestionVector graphics in Compact framework Pin
kanonkanin17-Mar-09 9:40
kanonkanin17-Mar-09 9:40 
AnswerRe: Vector graphics in Compact framework [modified] Pin
sivaddrahcir24-Mar-09 10:02
sivaddrahcir24-Mar-09 10:02 
GeneralRe: Vector graphics in Compact framework Pin
kanonkanin25-Mar-09 11:43
kanonkanin25-Mar-09 11:43 
GeneralRe: Vector graphics in Compact framework Pin
sivaddrahcir26-Mar-09 8:03
sivaddrahcir26-Mar-09 8:03 
QuestionC# SmartDevice Listview MouseDown Event and ListView.GetItemRect() Pin
d817-Mar-09 3:50
d817-Mar-09 3:50 
AnswerRe: C# SmartDevice Listview MouseDown Event and ListView.GetItemRect() [modified] Pin
sivaddrahcir24-Mar-09 9:03
sivaddrahcir24-Mar-09 9:03 
GeneralRe: C# SmartDevice Listview MouseDown Event and ListView.GetItemRect() [modified] Pin
d824-Mar-09 15:09
d824-Mar-09 15:09 
Hi Gurge60,

Thanks for your reply. I am sure that this is the right solution but I do not know how to implement the subclass for listview with VS2005. The opennetcf domain seems to be expired so I can not follow any links. I have read some additional documentation but I am new to this and am stuck on how to proceed. Any additional information is appreciated.

Well, I have been at this for several hours now and feel like I am close but have one step to go.

1) Created a class:


namespace lvsc
{
public class asdf : ListView
{
public asdf()
{
ListViewSubclass asdf = new ListViewSubclass(new ListView());
}
}

public class ListViewSubclass : NativeWindow
{
. . .
}
}

2) Add a reference to the class in a new device application

3) Add a user control to the toolbox from this class

Now, I can add the new user control (asdf) to the device application. But I do not know how to trap the mousedown event.

I added an event handler to the device application as shown below. The asdf control has all the events and properties of a ListView plus mouse events Smile | :) . But the MouseEventHandler is never detected. In other words, when I run the application and click on the control asdf1_MouseDown is not called. What am I missing?

public Form1()
{
InitializeComponent();
asdf1.MouseDown += new MouseEventHandler(asdf1_MouseDown);
}

void asdf1_MouseDown(object sender, MouseEventArgs e)
{

}

Thanks,
d8

modified on Wednesday, March 25, 2009 2:58 PM

GeneralRe: C# SmartDevice Listview MouseDown Event and ListView.GetItemRect() [modified] Pin
sivaddrahcir26-Mar-09 10:25
sivaddrahcir26-Mar-09 10:25 
GeneralRe: C# SmartDevice Listview MouseDown Event and ListView.GetItemRect() Pin
d826-Mar-09 11:20
d826-Mar-09 11:20 
QuestionCommandBar Hide Pin
SnWon16-Mar-09 11:31
SnWon16-Mar-09 11:31 
AnswerRe: CommandBar Hide [modified] Pin
sivaddrahcir24-Mar-09 7:59
sivaddrahcir24-Mar-09 7:59 
GeneralRe: CommandBar Hide Pin
SnWon24-Mar-09 12:38
SnWon24-Mar-09 12:38 
GeneralRe: CommandBar Hide Pin
sivaddrahcir26-Mar-09 11:21
sivaddrahcir26-Mar-09 11:21 
QuestionScroll Panel on up/Down key Pin
~Khatri Mitesh~16-Mar-09 0:58
~Khatri Mitesh~16-Mar-09 0:58 
AnswerRe: Scroll Panel on up/Down key [modified] Pin
sivaddrahcir23-Mar-09 15:27
sivaddrahcir23-Mar-09 15:27 
Questioncreating custom icons for Win mobile 5.0 Pin
Deepali Khalkar16-Mar-09 0:25
Deepali Khalkar16-Mar-09 0:25 
AnswerRe: creating custom icons for Win mobile 5.0 Pin
Joel Ivory Johnson19-Mar-09 2:18
professionalJoel Ivory Johnson19-Mar-09 2:18 
QuestionCall Contact screen capture Pin
hemlat14-Mar-09 1:38
hemlat14-Mar-09 1:38 
QuestionNeed to set the title bar caption...title bar is custom created its not the windows title bar...? Pin
Dharmendra Bhargava13-Mar-09 2:33
Dharmendra Bhargava13-Mar-09 2:33 
AnswerRe: Need to set the title bar caption...title bar is custom created its not the windows title bar...? Pin
PavanPareta15-Mar-09 19:21
PavanPareta15-Mar-09 19:21 
Questionrollover image Pin
karthii2612-Mar-09 19:45
karthii2612-Mar-09 19:45 
Questioncommand line on Win mobile 5.0 emulator Pin
Deepali Khalkar12-Mar-09 0:47
Deepali Khalkar12-Mar-09 0:47 
AnswerRe: command line on Win mobile 5.0 emulator Pin
lakpa13-Mar-09 1:40
lakpa13-Mar-09 1:40 
GeneralRe: command line on Win mobile 5.0 emulator Pin
Deepali Khalkar17-Mar-09 19:53
Deepali Khalkar17-Mar-09 19:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.