Transparent background in eVC++ 4.0 without MFC - Windows Mobile Development and Hacking General

Hi all,
My app has one static control (text label) and one edit box in a child dialog (all of them are define by resource editor). This dialog has a bitmap background and I'm trying to make transparent background for static and edit controls.
I've tried to "google" but unsuccessful, all is about MFC. I have a small source file containing WndProc function for the dialog. How can I do that by adding some code in there?
Someone pls help me? Does the simplest and fastest solution exist? Give me some instruction by code or links pls? Thank you very much!

as far as I remember you cannot make transparent static/edit boxes easily. You should make them ownerdraw controls and paint the background yourself.

I knew the way of manual painting ownerdraw button and listbox but I thought ownerdraw other controls is impossible (there is no this exStyle for that).
OK, thanks for your help. I'll try.

Related

{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.

Remove "settings" from notification bubble

Hi there, anyone know how to remove the "settings" hyperlink from the notification bubbles (when connecting to GPRS etc) - or o change the hyperlink so it no longer functions - thanks in advance. BGA
The notification bubbles are a HTML resource in the DLL they belong to (or it's respective MUI file).
Extract the DLL (sorry, not sure which one exactly you need) the use ResHacker or similar app to change the resource.
Thanks for the reply, will attempt that (using my trusty team who have half an idea what they are doing, allegedly) and let you know how we get on

Skinning Smartphone Interface (Tray bar and Softkey bar) using C++

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.

WM6 Standard - Resource for Theme Development

I am looking for a resource to help me with custom theme development.
I would like an XSLT/API for the XML that defines themes -- I have been unable to find anything like this.
I do not know the tags I can use for each plug-in, their attributes or values.
Thanks
--------------------------------------
http://www.blackjack2.com
If there is no known resource (i couldnt find anything on MSDN for the microsoft plugins) does anyone know how to:
1) Make the Missed Calls plugin label invisible, but still take up the the space on the screen? When i have no missed called the "Missed Calls" plugin collapses to a height of 0px, shifting everything up.
2) How can i set a specific plugin to have focus when going to the main screen - currently the top-most plug-in receives focus by default.
anyone have any ideas on this?
why dont get a homescreen that support it and read....this is the way i learned how to make homescreens.

Change background of LinearLayout

Hi all!
I have a problem when develop Android application. I want to allow user change application's background at run-time (it looks like the way we change desktop background on PC). User can select a picture that they like (via file browser) to set background. I don't know how to do that. Help me please.
Thanks for reading.
YOu should check stackoverflow.com . It is the official android support for developers.
Here is a similar question: http://stackoverflow.com/questions/2482848/how-to-change-current-theme-at-runtime-in-android
Basically you will need to create a style indicating the background to use. And in runtime you should be able to get a value from the user preferences and set the them of the activity accordingly, using setTheme in onCreate (before calling setContentView). AFAIK you will have to do this in all your activities, there's no simple way to do it for all your application, unless it is before runtime.

Categories

Resources