Skinning Smartphone Interface (Tray bar and Softkey bar) using C++ - Windows Mobile Development and Hacking General

Anyone can help me?
I want to create the background program which run in background, and change Interface of System Tray (Bar on Top) and Softkey Bar (Bar on bottom) with my own drawing!.
I want to be able to change the interface for all application, so even currently I am use the WM5 or WM2003 devices, it will look like WM6 interface!.
May be someone can help me with this problem!!!
I had an idea to hook the Tray window callback and softkey window callback but SetClassLong not support it. I only want to receive the WM_PAINT and WM_ERASEBKGND for this 2 window clases.

Hi amarullz,
Did you find a solution for skinning the top and bottom bars?
Looking for the exact same thing myself.

Related

Add Application Shortcut to Today screen

Hello:
Anyone know hoe to put application shortcuts straight onto the today screeen??
I already have claunch for myself, buy am setting up a simple system for mum on an older unit. I was hopinh to get a shortcut to the simpler apps like contacts straight on the today screen.
I know if you install tomtom you get an option in the today list to show tomtom on the list - This is similar to what I want (but not tomtom)
any ideas?
I use Pocket Plus from SPB. It's a great little app that also includes repeating alerts and an option to make the 'close' button really quit the app and not just hide it in background. All highly configureable. Check out Handango for a trial and purchase.
I use cLaunch. It works great and is VERY configurable! AND it's freeware!
I use the following group-settings to get four full sized icon on each "page":
Icon size =32
Icon name enabled
Icon width = 48
Icon name at bottom
Icon name height = 14
Icon margins = 1 hor. and vert.
Window margin = 0
I have enabled "Tap empty space to advance to next group" so that I can page through the icon groups easily.
(edit: didn't catch that you already tried this app! Anyway try my settings. I can't imagine a simpler way to launch from the today-screen. BTW I have turned of the menu bar also because I just use a few icon (four in each group) just like you seem to want too.)
Another option is PHM Pocket Power Tools (or is it Toys?). It has a TrayLaunch application, which allows shortcuts to be placed in it and it displays at the bottom of the Today screen - where the NEW menu item is located. It's freeware as well.
yep: your setting worked great, thanks for the help - I never though of configuring cLaunch like that.

Chage Icons?

Haya guys and or galls...
I'm trying to edit the icons of the shortcuts in my start menu.
I want to use this, so that I can use the Icons of programs like tomtom to startup via the overclock tool....
But now, sice the shortcut starts with the omapclock tool, the icon is the same as the tool...
Also, there is an app called flitsnav, which also launches Tomtom, and I want to use the tomtom icon rof this shortcut...
I can't seem to find the solution in this forum anywhere, but maybe I looked over it in my search..
Can someone help me???
http://forum.xda-developers.com/viewtopic.php?t=40230&highlight=completeness
V
hmmm
okay..tnx for the advice..
Although I'm not really sure what all that means ou guys wrote there..
No easier way? just to change the icon of a .exe?
Anyway thanks..
p50kombi: if you want to change the icon for the executable, which you don't (since you want to change icons for shortcuts), you would use a resource editor on your PC. That's not too easy, but it's doable.
Using custom icons on shortcuts on the PDA is not difficult.
Basically, copy this into notepad, and call it VJMail.lnk
Code:
38#\windows\tmail.exe?\windows\DIM.exe,0
38
- Ignore this (it's the length of everything after #)
\windows\tmail.exe
- this is the app you want to launch
?\windows\DIM.exe,0
- this is the icon it should show instead of its default one
- it means, take the first (ie 0th) icon in \windows\dim.exe as the icon
It's not hard. This is just an example. Use your own programs etc of course.
V
i'll try it right away..
Thanks VJ!!!!
It worked!!!!
Thanks VJ.....
It wasn't that hard afterall indeed!!!
Anyone got any way of extending the backlight of the keyboard allready?

{SOLVED} Hide to system tray

Spent most of the evening searching various forums/newgroups before giving up and asking for help on this one.
Has anyone managed to work out how you can minimise your application to the system tray icon?
I had hoped this thread ( http://forum.xda-developers.com/showthread.php?t=274918&highlight=tray ) would reveal the secret, but whilst it does 'hide' my application, no icon is shown on the system tray for me to reactivate.
Would really appreciate some help on this.
Using VS2005, phone is Artemis and got the latest SDK for Mobile 5.
i am pretty sure i saw that effect once, on wm03. but what could that be....
upd: ehh damn i read your link..
how to remove my post...?
I take it you are using C# / VB.NET?
Not sure how to implement the solution in those, I only know C++.
There is no 'minimize to tray' function in windows - mobile or otherwise. The effect is achieved by two operations:
1) Hide your program window.
2) Create a notification icon in the tray using Shell_NotifyIcon API.
You can find full documentation about it in MSDN or VS help files.
Thank Levenum, the "Shell_NotifyIcon" call seems to work brilliantly.
Thanks again for the pointer, appreciated.
I'm a noob
levenum said:
I take it you are using C# / VB.NET?
Not sure how to implement the solution in those, I only know C++.
There is no 'minimize to tray' function in windows - mobile or otherwise. The effect is achieved by two operations:
1) Hide your program window.
2) Create a notification icon in the tray using Shell_NotifyIcon API.
You can find full documentation about it in MSDN or VS help files.
Click to expand...
Click to collapse
I don't have a single clue how to achive this, I want to hidem my tray bar on my deviece but I can't, I have not Idea what the Shell_NotifyIcon API is and I don't know how to hide my program window.
~J~: Glad I could help
fnordelus: I am not quite clear on what you want to do:
Do you want to get rid of the tray (the little icons at the bottom of your today screen) so you would have more room for plugins?
If that is the case then you just need to delete some shortcuts from windows\startup - but be careful! Some stuff in there you will need. If you tell us what device you are using and what shortcuts you have in that folder we can tell you what to delete and what not.
If you are writing a program and want to minimize your window to tray (put an icon in the tray when your window is not shown) then the first thing you must do is tell us what language you are using. If you do not know how to hide a window in your own program it is to early for this kind of tricks. You need to get a good book on Win32 programming and read it fisrt.

Need Help Converting Task Manager from VGA to QVGA

I need some help from the community to figure this out. Older HTC Task Managers cause the taskbar to disappear (in my rom) when you touch Quick Menu and rotate to landscape. The one from the Diamond 1.93 ROM (2_1_34563_100) doesn't do this, however the Quickmenu icon in the upper right (see pic) is sized for VGA. Functionally it's fine, but visually it's not very nice. I've searched the dll's, exe's and images, but the quickmenu icon is not there. I think I've narrowed down the registry entry that controls the icon to:
[HKEY_CURRENT_USER\Software\HTC\TaskManager]
"LauncherUp"=hex:\
20,00,00,00,01,00,00,00,0A,00,00,00,A0,00,00,00,02,00,00,00,04,00,00,00,1E,\
00,00,00,1C,00,00,00,02,00,00,00,04,00,00,00,16,00,00,00,08,00,00,00,02,00,\
00,00,0C,00,00,00,16,00,00,00,10,00,00,00,02,00,00,00,14,00,00,00,0C,00,00,\
00,16,00,00,00,16,00,00,00,14,00,00,00,18,00,00,00,15,00,00,00,15,00,00,00,\
15,00,00,00,19,00,00,00,16,00,00,00,14,00,00,00,16,00,00,00,1A,00,00,00,17,\
00,00,00,13,00,00,00,17,00,00,00,1B,00,00,00,18,00,00,00,12,00,00,00,18,00,\
00,00,1C,00,00,00,19,00,00,00,11,00,00,00,19,00,00,00,1D,00,00,00,1A,00,00,\
00,10,00,00,00,1A,00,00,00,1E,00,00,00,1C,00,00,00
"LauncherDown"=hex:\
20,00,00,00,01,00,00,00,0A,00,00,00,A0,00,00,00,02,00,00,00,04,00,00,00,1E,\
00,00,00,1C,00,00,00,02,00,00,00,04,00,00,00,16,00,00,00,08,00,00,00,02,00,\
00,00,0C,00,00,00,16,00,00,00,10,00,00,00,02,00,00,00,14,00,00,00,0C,00,00,\
00,16,00,00,00,10,00,00,00,14,00,00,00,1E,00,00,00,16,00,00,00,11,00,00,00,\
16,00,00,00,1D,00,00,00,17,00,00,00,12,00,00,00,17,00,00,00,1C,00,00,00,18,\
00,00,00,13,00,00,00,18,00,00,00,1B,00,00,00,19,00,00,00,14,00,00,00,19,00,\
00,00,1A,00,00,00,1A,00,00,00,15,00,00,00,1A,00,00,00,19,00,00,00,1B,00,00,\
00,16,00,00,00,1B,00,00,00,18,00,00,00,1C,00,00,00
I'm pretty sure the above controls it because if I remove the entries completely I get a white box instead of the normal horizontal lines and down arrow. Anyone know how to read/convert this so I can use it on a QVGA screen?

Need a lot of help with my app!

Hey guys
I'm creating a Windows mobile 6.1 application and now i need a code that activates the backlight camera just by a buttonpress. Anybody that can help me, maybe supply me with a little exe or a code sample? I'm writing in C#...
Second, I wonder how to execute a command when the user of my application presses the X button in the right corner of the 6.1 system. I want a dialog popup menu to show and ask the user to quit or no. Hopefully you'll understand what i mean.
And last, i want to "disable" the visual keyboard icon shown between the mainmenu lists... i don't want it to show, if you get what i mean
Best regards
None of the currently 8000 peoples that can help me??
well, when I programmed some software with Object Pascal for WinMo 6.5 I spent hours trying to find some code to hide the keyboard icon, but I never solved the problem... But the icon depends on the program the application is started from. That means if you start it from File Explorer it is shown in the middle, if you start it from Total Commader it is shown in the lower left corner and if you start it from the start menu (shourtcut) it is hidden.
Maybe this is the same in C#...

Categories

Resources