[WIN CE/Pocket PC]How to load gif image to the button? - Windows Mobile Development and Hacking General

Hello All,
I need to load a gif image to a button(push button). I know to load Bitmap using CBitmapButton.
I am using VC++.
Pls can anybody help me regarding this.
If anybody can provide the Source code for the same then it will be great help to me.
Thanks in advance.
Regards,
Prathvi.

make a picture box with the image and set the Click event for it it will act like a button

Hi...
Thank you very much for that idea. It works fine.
Now the problem is that it must look like pushbutton. Means Up-Down property should be there. Is it possible? Is it possible to set Text on the loaded image.?

Related

Picture viewer doesn't start up ???

Hi Everybody,
Today I have simply tried to have a look at my recent photo's but apparently the standard picture viewer doesn't start up. How can this be screwed up, it sits in the ROM, isn't it ? Maybe it has an INI or other config. file which is corrupted/missing ?? I was trying to search the forum for such a problem, but nothing found...
Please give me a hint if you can.
This is ONLY a hint because I have a Wizard...O2 XDA Mini S...and my Pics and Videos viewer stopped working. I eventually discovered it was because I'd installed the Eten dialer on my phone.
Don't know how this may help but hope it gives some clue.
iainmann,
Thanks for the hint but unfortunately it is not my case.. Other idea anyone ?
Good if you could list out the recent installed software
jarbi said:
Hi Everybody,
Today I have simply tried to have a look at my recent photo's but apparently the standard picture viewer doesn't start up. How can this be screwed up, it sits in the ROM, isn't it ? Maybe it has an INI or other config. file which is corrupted/missing ?? I was trying to search the forum for such a problem, but nothing found...
Please give me a hint if you can.
Click to expand...
Click to collapse
If youre tapping on the program icon and its not starting then try searching for the actual program (Normally in \windows), and try launching that way.
If youre tapping on a picture and its not starting then have a search on the web for some kind of file association program - perhaps the photo file extension has become dis-associated from the picture viewer.
Matt
jarbi said:
Thanks for the hint but unfortunately it is not my case.. Other idea anyone ?
Click to expand...
Click to collapse
Hard reset?
Start "Explorer", go to "/windows" and find "pimg" file. Try to start it. If it won't run, then you got virus (or bug
x-X-x said:
... then you got virus ...
Click to expand...
Click to collapse
Nonsence.
x-X-x said:
jarbi said:
Thanks for the hint but unfortunately it is not my case.. Other idea anyone ?
Click to expand...
Click to collapse
Hard reset?
Start "Explorer", go to "/windows" and find "pimg" file. Try to start it. If it won't run, then you got virus (or bug
Click to expand...
Click to collapse
first of all: thanks for all the replies, just to summarize what I did already:
1. I have tried to launch the "pimg.exe" directly - the same thing (nothing) happens.
2. Hard reset - no way ! The problem is not the kind where I would consider a hard reset. I have installed a free picture viewer for the time beeing.
3. I have the "jpg" files associated with "pimg" in Resco explorer, but it didn't make any difference.
If somebody would still come up with a new idea, I would really appreciate :? .
If the program won't start I would check that the program hasn't been overwritten. With Resco make sure that it has a tick in the "In ROM" box in Properties. If not, delete it and the ROM version will be restored.
With File Associations you have two registry keys for each filetype.
HKCR\.jpg - pointing the extension to the filetype and handler
HKCR\jpegimage - telling the OS which icon and program to use for the file.
Other entries exist too like HKCR\.jpeg, for the same file with different extension, and HKCR\jpegfile which is empty on my device.
The HKCR\jpegimage\Shell\Open\Command on mine is (Default) = pimage.exe "%1"
Is yours any different?
Resco has a built in viewer for images and other file types, which you can set as the default action when you click a file.
Hope this helps.
PReDiTor,
Thanks for the hints, I went through the points but nothing suspicious found. I have set now Resco's internal viewer as photo viewer, so I will leave the proble for now. Let's see further after the next hard reset.... :wink:
its a dll file that is screwing up..
search up the thread on saman's wm5 new menu and there is a dll switcher there..

splash screen changing and windows logo -splash no 2 ???

hi, i have managed to change the splash screen using buzz tools (t-mobile logo in my case) but how do u change or get rid of the other splash screen or what ever it it..in my case windows mobile logo ?? can i replace it or just have nothing.. i have read that it is welcomehead.192 which is in /windows but when i copy it to my PC i cannot see it anywhere. can anyone help with doing this ?? cheers
cudo
OK, i have sorted it out:
/windows/welcomehead.192.png - just make your own *.png file and replace the exisiting one. it must be 640x480 pix.
bye, and thanks for your help !
thanks for your finding. I will have a try
sorry i didnt find the post sooner CUDO, great of you to work this out, Keep up the good work
Hi, guys. I'm new for universal. I use O2 Exec and up Rom to Dopod 900. I like to use O2 splash screen but cannot find the pic of it.
Anyone can share the pic? Or where can I get it.
Thanks in advance.
hi there,
i'm looking forawrd to have the same original o2 splash screen on my dopod 900 too......any1 out there could guide us to do that?
regards
Hi,
how did you replace it? Active Sync can't replace it, he always tells me about an error that there would not be enough space...
Damn, would really like to have my own picture there....
MfG
MPW
@MPW: replace it by overwriting with another file with the same name!
You can even take a jpg with less quality and size and rename it to png file type, still works!
so all you need is a o2 wallpaper like on the start up.easy done i will see wot i can do.

Manual Image Rotate

Is there any way at all of rotating an image manually or any program which does this job?
I'm trying to simply rotate an image so that it is the correct way up when I set it as my wallpaper.
My girlfriend has an HTC Jade and also has this issue.
Thanks for your help.
Darren
darrenzanizibar said:
Is there any way at all of rotating an image manually or any program which does this job?
I'm trying to simply rotate an image so that it is the correct way up when I set it as my wallpaper.
My girlfriend has an HTC Jade and also has this issue.
Thanks for your help.
Darren
Click to expand...
Click to collapse
Cant you just edit the image in a image editing software on your pc then copy it back to your phone why install an app just to do one thing
darrenzanizibar said:
Is there any way at all of rotating an image manually or any program which does this job?
I'm trying to simply rotate an image so that it is the correct way up when I set it as my wallpaper.
My girlfriend has an HTC Jade and also has this issue.
Thanks for your help.
Darren
Click to expand...
Click to collapse
Cant you just edit the image in a image editing software on your pc then copy it back to your phone why install an app just to do one thing
Website acting up I didnt send this twice LOL

image help

Hi guys im not getting an image appear in quick links when i associate it with a contact any help mucho appreciated
anyone help?
OK, really silly question. Can you see the contact photo when you select it? What ROM are you on, has this ever worked for you, have you intsalled any additional Contact management tools or other applications?
hi im on ROM 1.66 and have a cab installed (not sure what its called but it gives me 16 quick links. The contact picture is assigned and visible in contacts just not on the quick links.

Application initialise as early as possible

Help folks,
I won't bore you with exactly what I'm doing, but I need an application to start as soon as possible - before the default launcher does for example.
The application contains settings that need to apply prior to everything else.
Is there a script I can place somewhere? If so, are there any examples you can guide me to please!?
Thanks in advance.

Categories

Resources