yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] meltwater:
Count me in too! Just starting to use it now and I'm sure I'll find any pointers very useful.
[Windows Mobile Software Development] TeDeV:
well i guess i will be able to do my work just fine with that.

are you going to have an option that we will be able to set if the label is going to be on top or left?
[Windows Mobile Software Development] eboelzner:
LayoutStyle = ...

LayoutStyle enum { Default, Left }
[Windows Mobile Software Development] eboelzner:
Here is a screen shot of v1.37 layout changes...
[Windows Mobile Software Development] KUV1977:
Is there a way to add a third textfield in an item, like in the sense-call list, where the date is right aligned as a third text field? Can i somehow add one by myself?
[Windows Mobile Software Development] Sl4sher:
Yes! Thank you kindly!
[Windows Mobile Software Development] eboelzner:
A couple of screenshots to show you v1.37 textbox style working...
[Windows Mobile Software Development] mohitsapru:
Awesome

First i want to say that this is an awesome SDK. Love it....

now i want some help, i am trying to redesign one of my app using this SDK and i am trying to add sensepanelitem at runtime in a SensePanelMoreItem, now the thing is that even if i add it it is not showing but when i go back and again come to the moreitem it displays those new items. Just wanted to know how to display it. also if i want to delete a item then how should i do it... ny insights??

any help is much appreciated,

Mohit
[Windows Mobile Software Development] KUV1977:
I am not using the moreitems so i don't really know, but have you tried calling

this.senseListCtrl.Refresh();

after adding the item?
[Windows Mobile Software Development] mohitsapru:
I tried refreshing KUV1977, but it is not working :(

Thanks for the he;p anyways... maybe someone who uses it can help??
[Windows Mobile Software Development] eboelzner:
SensePanelMoreItem

This is how the SensePanelMoreItem works currently...

The SensePanelMoreItem has an internal LIST that it maintains...

when the user clicks to show the child items, the current list is saved onto a "stack" and is replaced with the child items from the SensePanelMoreItem...

So during this time, the LIST functions on the main list are applicable to ADD, DELETE, etc. but have no effect on that actual child list maintained in the SensePanelMoreItem.

I have been thinking of adding an event that fires just before the SensePanelMoreItem LIST is placed into the List Control so that a developer can modify and/or used dynamic /virtual methods...

So for right now... you can monitor the event for Childlists and do something there until I decide how I am going to make the SensePanelMoreItem list virtual capable...

Any ides???
[Windows Mobile Software Development] mohitsapru:
Thanks for explaining it eboelzner,

well i am doing a workaround for now by calling the parent and then again calling the child after i make a change to the list, that does my job...

I have noticed one bug also, i am referring to 1.36 that if i have added a combo-box and i set the current index as -1 and then when i try to open the drop-down i get null reference exception, i have items in it...

one question/idea is multi-line text box implemented?

Edit: one more thing, is it possible that we can add two or more panel items in line?? like a textpanel and buttonpanel??

one more suggestion: focus property of sensepaneltextitem is read only, any specific reason for that??

Thanks for developing it :)

Mohit
[Windows Mobile Software Development] wesch00:
I also run into that problem and found a solution.

Since as eboelzner wrote "the current list is saved onto a "stack" and is replaced with the child items from the SensePanelMoreItem" you simply can modify the original listControl, if you have an access member.
[Windows Mobile Software Development] wesch00:
SensePanelComboItem

What I'm missing on SensePanelComboItem is, if you set the SelectedIndex, SelectedValue or SelectedText of a SensePanelComboItem programmatically, i.e. in the SelectedIndexChanged event of another ComboItem, then the displayed text is not updated. My workaround therefor currently is to remove all ComboItems from the list and readd them.

And another behaviour is not conform to the usual comboboxes. You have here OnSelectedIndexChanged an on OnSelectedValueChanged. There is allways only one event fired, either you set the index or the value. If I change the index I would expect also the value to be changed. But since I figured out this, I use it in my application, so I do not know, if it should be changed or left as it is.
[Windows Mobile Software Development] madindehead:
I have tried to add the needed file to the toolbox, but it just doesn't show anything. The references have been added to the program, and the other file is in the meta data folder. Anyone got any ideas? And yes, I have reset my user data. Twice. Still nothing.
[Windows Mobile Software Development] mohitsapru:
i also faced the same problem, but then what i did was

1. Opened just the IDE, no project and then added the file to the toolbar.

closed the IDE and opened again and it showed the tools

I dont know how you tried but this worked for me

Thanks,

Mohit
[Windows Mobile Software Development] TeDeV:
thank you so much man. this is what i wanted. now we can have more space :)

by the way, can you please tell me what is the RGB color of the senselist background color?
[Windows Mobile Software Development] madindehead:
Still not working for me mate. I don't understand why I can't get it to work!
[Windows Mobile Software Development] Wareczek:
SenseColors.List_Background.ToArgb()
[Windows Mobile Software Development] TeDeV:
yeah, i tried that. did work exactly. i am trying to create an image in photoshop, and set the background color similar to the sense list, but everytime i compare it, the picturebox looks different from the sense list's color
[Windows Mobile Software Development] Wareczek:
Try this:

Color.FromArgb(239, 235, 239)
[Windows Mobile Software Development] mohitsapru:
Thank you

Thanks eboelzner,

Using your SDK i have finally upgraded one of my app, and i also have mentioned about you and your sdk in my thread. Also i have put the SDK's "about" in my applications about link.

Thanks again for this wonderful SDK :)

Mohit
[Windows Mobile Software Development] eboelzner:
public static Color List_Background = Color.FromArgb(239, 235, 239);
public static Color MsgBox_Background = Color.FromArgb(248, 252, 248);
public static Color Calendar_Background = Color.FromArgb(255, 255, 255);
public static Color Calendar_Border = Color.FromArgb(165, 162, 165);
public static Color Dark = Color.Black;
public static Color MediumDark = Color.FromArgb(49, 48, 49);
public static Color Disabled = Color.FromArgb(128, 128, 128);
public static Color HighLight = Color.White;
[Windows Mobile Software Development] eboelzner:
That looks great... thanks for using the SDK!

Later this week, I want to put a list of links to developers and thier apps on my first post.

Good luck with your app(s)... and a new version will be out later this evening...

Ed
[Windows Mobile Software Development] Wareczek:
I've discovered small bug from version 1.35. Add SensePanelDividerItem as a first item on list and SenseHeaderControl right before list. After scroll list up (hide under header), when list is back in normal state appear small (1px) gap between header and list:
[Windows Mobile Software Development] eboelzner:
Fixed in next version...
[Windows Mobile Software Development] eboelzner:
Combo issues fixed in next version...
[Windows Mobile Software Development] gbonaros:
Nice SDK, i am trying to use it at the moment :)

one question thou, is there a generic panel we can add as a ISenseListItem to a ListBox ?
[Windows Mobile Software Development] Skadork:
I'm having some problems with the combo box. I'm using 1.36 with the following code:

// This section will create a drop down box
SensePanelComboItem OctaneRating = new SensePanelComboItem("Choose Octane Rating:");
OctaneRating.Name = "Octane Rating";
OctaneRating.Tag = "Octane Rating";
OctaneRating.OnSelectedIndexChanged += new SensePanelComboItem.SelectedIndexChangedEventHandler(OctaneRating_OnSelectedIndexChanged);
contactList.AddItem(OctaneRating);
OctaneRating.LabelText = "Fuel Octane Rating: ";
OctaneRating.SelectedIndex = 1;

foreach (int rating in Octane)
{
//SensePanelComboItem.Item itm = new SensePanelComboItem.Item(rating.ToString() + " RON", rating.ToString());
OctaneRating.Items.Add(new SensePanelComboItem.Item(rating.ToString() + " RON", rating.ToString()));
}

And keep getting a NullReference exception at SensePanelComboItem.DropdownItem_onClick which seems to be fired after NotifyClick which is fired after OnMouseUp? I seem to be building the combo box in the same way the demo is done (but with only one loop). I'm wondering if maybe it has to do with the foreach?

*edit* Also, off topic - does anyone know how to get the Sense SIP to load directly to numeric input keypad?
[Windows Mobile Software Development] go4saint:
I use a custom numeric Sip. (I didn't make it, just modified it to my need. The source code is on OpenNETCF i think)

You can check the sample project.

Also I need some help to make this custom SIP to behave like eboelzner's SIP - "Auto SIP detection [scrolls list up to display textbox]"

#Edit#

Here is the source code for numeric SIP, for those who want to compile themselves the .dll or integrate the control directly.

http://blog.opennetcf.com/ayakhnin/CategoryView,category,SIP.aspx

Credit to Alex Yakhnin
[Windows Mobile Software Development] Skadork:
The built in Sense "Full QWERTY" has a numberic only input which is already themed. If I could find the files for the SIP, i could use reflection on how to call it and post the solution here.

I did see that for smartphones there is a way to choose the input method, but it only works on smartphones and not pocket pc phones.
[Windows Mobile Software Development] Skadork:
Here is one thing I found from XDA http://xdaforums.com/showpost.php?p=5093596&postcount=3
[Windows Mobile Software Development] JacE25:
Could someone give me an example how I use an event handler on the TextboxItem?

I use it always as the following:

SensePanelTextboxItem tbbvk = new SensePanelTextboxItem();
tbbvk.LabelText = "THis is an example";
[COLOR="Red"]tbbvk.Tag = "testtag";[/COLOR]
tbbvk.TextChanged += new EventHandler(tbbvk_TextChanged);

...

void tbbvk_TextChanged(object sender, EventArgs e)
{
MessageBox.Show((sender as SensePanelTextboxItem).Tag + "");
}

But this didnt work. I have tried it with (sender as TextBox).Tag and Name, but i only get an empty messagebox. currently I need for each textbox an own method for TextChanged. I try to use only one Method for all my textboxes(there are 5 or 6), and in this method i want to differntiate with the tag oder name.
[Windows Mobile Software Development] Archer:
Why are you trying to show the Tag value? You've not set it to anything.
[Windows Mobile Software Development] JacE25:
Oh, I've forgotten here in this example.

I have written the lines of code by hand and not copied from Visual Studio. But even with tag is set it doesnt show me the tag.

SensePanelTextboxItem tbbvk = new SensePanelTextboxItem();
tbbvk.LabelText = "THis is an example";
[COLOR="Red"]tbbvk.Tag = "testtag";[/COLOR]
tbbvk.TextChanged += new EventHandler(tbbvk_TextChanged);

...

void tbbvk_TextChanged(object sender, EventArgs e)
{
MessageBox.Show((sender as SensePanelTextboxItem).Tag + "");
}
[Windows Mobile Software Development] Archer:
Using your example code, if you put a breakpoint in the event handler then you can see that sender is actually a TextBox, so cast it as a TextBox and not a SensePanelTextboxItem and you'll get the tag and text properties of it no problem.
[Windows Mobile Software Development] JacE25:
I've done exactly this, but it doesnt work for me.

Here you see my real Code directly from visual studio, and a screenshot of my result:

//Ergebnis Vollbenutzungsstunden
bVK.Text = "Noch keine Auswahl getroffen";
bVK.LabelText = "Ergebnis:";
bVK.Tag = "bvktag";
bVK.Name = "ergebnisbox";
bVK.TextChanged +=new EventHandler(res_TextChanged);
spmivollbenstu.Children.Add(bVK);

...

void res_TextChanged(object sender, EventArgs e)
{
MessageBox.Show("Name:"+(sender as TextBox).Name);
MessageBox.Show("Tag:" + (sender as TextBox).Tag);
}
[Windows Mobile Software Development] Archer:
Actually, I take it back. I only tried getting the text property, and that worked fine. I just changed my test app to get the tag and name, and it didn't work.

I've tried all the textbox event handlers, and they all do the same thing, so there's no answer with the current version of the code.

I guess the only way you could get this to work in the current state is to have an event handler for each SensePanelTextBoxItem, otherwise you've got no way of identifying it.
[Windows Mobile Software Development] JacE25:
Thank you for your effort. I thought i've made a mistake.

The text property works, but it didn't help me at this point.
[Windows Mobile Software Development] shark147:
Hi Guru... :)

This is frustrating the hell out of me. I hate having to ask this, but I'm struggling like mad trying to add these controls into VS2008.

I've done what I've always done when adding 3rd party controls, but I'm not getting anywhere with it. Here's what I've done to try and get it working...

Right click the toolbox and select Add Tab.

Give the new tab a name (Sense SDK 1.36)

Select the tab (just to be sure) and then right-click inside it

Select Choose Items

Select Browse and locate the file StedySoft.SenseSDK.dll - click Okay

That has always been all I've ever had to do in order to add controls, and it does it here too, but all the controls are greyed out so I can't use them.

I have try: cmd /c start /wait devenv /setup /resetuserdata /selfreg /resetskippkgs

but same problem...

Can someone PLEASE help me get this working?
[Windows Mobile Software Development] bycins:
Would you please put a sample code for vb.net?
[Windows Mobile Software Development] eboelzner:
This has been fixed in v1.37... the sender object is now the SensePanel item... and you can access the text box through the Textbox property...
[Windows Mobile Software Development] eboelzner:
Other users have had mixed results, maybe one can chime in to assist... I am 1/2 way complete on an install... this is the next priority!
[Windows Mobile Software Development] bycins:
I have the same problem!
[Windows Mobile Software Development] Archer:
That'll be a great one to fix! I'm sort of used to hand-coding them now and will probably continue to do so, but I know lots of people will be most pleased by that!

As always, great work Ed - keep it up mate ;)
[Windows Mobile Software Development] TeDeV:
not really sure if this is implemented, but ... can we have a picture inside the Sensebutton?

left, right, top, bottom?
[Windows Mobile Software Development] eboelzner:
v1.37

Test version v1.37 is up and ready for testing... enjoy!
[Windows Mobile Software Development] bycins:
v1.37 't you just try.
[Windows Mobile Software Development] bycins:
me again. NET 3.5 version, the icons are disabled.

My Win7 64-bit operating systems, the problem may be 64-bit?
[Windows Mobile Software Development] TeDeV:
thanks a lot for the horizontal text. what i saw until now is that the time control is VERY slow to display, and almost impossible to scroll smoothly.

another problem is the localization. the words are too big, so they stay on top of each other in the OnOffItem. can we have a property there so that we can set our own text?

for example i would like to have a "Open - Close" instead of "On - Off" or something like that.

thanks again,

Ted

bycins, he has mentioned it like a thousand times. he hasn't fixed that yet (the design mode) and he is working on it. for now you just need to create it with code.
[Windows Mobile Software Development] bycins:
I understand, thank you. package in the sample code written in C #. Do you have written in vb.net example? written in vb.net if I can find an example to me is a very fast learning. )
[Windows Mobile Software Development] char:
Anybody with working tool palete and sense controls?

Hello,

is there anybody who have working Tool Palette with Sense Controls (they are not disabled and usable in design time)? I like everybody else have them in disabled state and cannot find any way to enable them.

As somoe one already suggested - isn't it a problem with OS? Im running MS VS2008 Prof on Win7x64...

ChAr
[Windows Mobile Software Development] cnzqy1:
Hello, Ed, I found a Chinese Simplified translation incorrect. And, yeah, it's my mistake.

Correct one:

On=开

Another question, what is displayed in the City section in your demo app? I found the string displayed in it quite weird...(Something like 中国昼时(China Day Time?), it doesn't make sense...) I think it reads system time zone but what it displays is not the same as in Settings-Clock And Alarms.
[Windows Mobile Software Development] Archer:
That was discussed, in the post above yours! (Amongst many other places)
[Windows Mobile Software Development] KUV1977:
The new Panel-Item Text properties are certainly an improvement. However, i still struggle to get the layout the way i want it.

Here's the thing:

I have two items with a height of - let's say - 100 Pixel each. The primary text in both takes 20 pixel and the secondary text in item A takes 16 pixel and the secondary in Item B takes 32 pixel (2 lines).

Now, what i would like to achieve is that both - primary and secondary - remain together as a block but are centered in the item, so that item A would have 32 pixels space at top and bottom and item B would have 24 pixels of space.

I don't seem to find the settings to achieve that. If i set primary to "Top" it is very close to the top, independent of the secondary - which makes sense. "Default" is a bit better, now "Bottom" also moves it more to the top and "Middle" does the same. The secondary text seems to react to "Top", "Middle" or "Bottom" much better, but is then separated from the primary with a gap i would like to avoid. Maybe the primary text only reacts to "Middle" and "Bottom" if no secondary text is set?

I have tried with and without the 'SingleLine'-setting.

Maybe i am just doing things wrong, but i can't seem to center both text-blocks in the item, while having them stay together.

Also is there an option for right-aligned? If not, is there any chance to get that in a future version?

Finally: the springback seems to be totally fixed! Great!

Great Update!
[Windows Mobile Software Development] eboelzner:
If you look in the Localization namespace, you can override all the strings there...
[Windows Mobile Software Development] brandi:
It is getting better and better! I am very pleased about this! It is the brilliant advantage every WinMo Dev was waiting for to bring back WinMo with good locking fast and stable programms!

ty so much!
[Windows Mobile Software Development] joe_coolish:
Totally.

I was working with Silvermoon before and this is MUCH easier to use.

@eboelzner

Thank you for the updates, stability is incredible :) One quick question. I've asked it before, but I was just wondering if there is anyone working on documentation of features/best practices? Sometimes I feel like I'm taking the long way around to get things done when all I needed to do was enable feature FOO or use Class BAR. But that's probably due to inexperience on my part :)

Great GREAT sdk!
[Windows Mobile Software Development] delphiage:
Hi eboelzner, I downloaded the 1.37 version and found a bug when ran the demo. It gives me a "OutOfMemoryException" when make a click to some item.

Other issues:

* If you open the designer for the frmListDemo, the SenseHeaderControl gives an "out of memory" exception when excecute its own onpaint event.

* Same for the SenseOnOffControl and SenseNumericControl in the frmControlDemo

My application gives me a "OutOfMemoryException" when I create several (like 25) SenseXXXitems at runtime too.

There is something I'm making or installed wrongly?

The new StedySoft.SenseSDK.PocketPC.asmmeta.dll is installed properly

The proyect is referencing the new StedySoft.SenseSDK.dll

Regards and great job!!!

P.D. I hope some day you can fix the problem with the toolbar in the designer.

VS 2008

Windows Mobile 6 Classic Emulator

Windows XP 32 bit

.NET 3.5
[Windows Mobile Software Development] legrorelou:
I think he is only asking *if someone has a working palette*. Just to know if it's a problem on *his* (and some people) side or if the issue happends on everybody's environment.

:)

my 2 cents.

that said, it's worth the effort doing without the designer part.

Thanks again Eboelzner !
[Windows Mobile Software Development] computerjunkie:
Can someone with a working example provide **SIMPLE** code so we can see how to create the different panels without using the toolbox? Thanks!!
[Windows Mobile Software Development] spastik:
use the sample code provided by ed.
[Windows Mobile Software Development] computerjunkie:
Yea it was hard to understand at first but now i get it.

I'd like to report a couple bugs.

1:

If you add an empty SensePanelComboItem to a SenseListControl, then click on the Combobox, the form crashes. If you add items to the combo box then click on it, it works as expected.

2:

Changing the backcolor of a SenseListControl doesn't work:
[Windows Mobile Software Development] computerjunkie:
Feature request:

FEATURE REQUEST:

Could we get a File/Folder Dialog box??? :D
[Windows Mobile Software Development] Nightstorm99:
FEATURE REQUEST:

ImageBox!
[Windows Mobile Software Development] leen15:
Hi, how can i have a Right ContextMenu for SenseTextBoxItem as in your example? :)
[Windows Mobile Software Development] PhilMorris:
Can sb please tell how to load an IImage to a ComboItem using VB.Net ?
[Windows Mobile Software Development] Nightstorm99:
Hello!

How can the marked buttons, get in a row?
[Windows Mobile Software Development] meltwater:
Hi,

Trying to use the SDK for various things however I really need a multi-line text box. It looks like this isn't supported yet.

I take it you can't add normal controls to the sense list (so it moves when the other controls move).

I need to build a list of items but unfortunately need a bit more control with the different items and layout. I'm still very new with this, so if it can be done, even outside of the SDK then I would be grateful for a pointer in the right direction - or is it a case of building a custom control to do it?

Thanks.
[Windows Mobile Software Development] leen15:
Same for me, I'm trying to do an app like the SMS Manila with multiline text box in the bottom and the last SMS received in the top, so I need something to do this! :)

Add a Request: How can i do for replicate the thumnail for contact's images?
[Windows Mobile Software Development] meltwater:
Looking into it now, will PM you since it's not SDK specific.
[Windows Mobile Software Development] bandanner:
Own SensePanelItem

Is there a way (interface or something) to create an own SensePanelItem?

I'm writing an app where i need a more complexe Item.

Nice SDK by the way..
[Windows Mobile Software Development] eboelzner:
You are correct!

The Panel Items are actually just light weight classes... Any panel item that has an actual object that derives from CONTROL and needs a parent, such as the textbox, the panel item creates the control, and adds it to the parent on the handlecreated event, and removes it on the handledestroyed event.

Sounds complicated, but the hardest part is the positioning, etc...

The PanelTextbox has all the internal code to support multiline... the only thing I have to do is modify the Paint events to handle the resizing... like I said before, that is that most code/testing intensive code to write!