Related
If you look in the registry at "HKLM\Software\Microsoft\Today\Items\[Calendar|Owner Info|Tasks]", you'll notice that, unlike the other today plugins - these plugins don't have a 'DLL' referenced from which their functions are exported.
Does anyone have any idea which DLL these items use? For my upcoming desktop replacement, I allow users to embed today plugins within their virtual screens - but without knowing what 'default' dll these items use - I can't allow them to use these specific items.
Anyone have any idea which dll is/are responsible?
Have you considered that this today items could be part of the shell32.exe application?
Same happens for some Control panel applets that do not have any DLL or EXE file.
Regards,
Oki
This could only work for one plugin - unless there's a lot more specialised code in the TodayScreen than I think - each today plugin has two entry points (main window creation function, config dialog function). Therefore shell32 could only host one - without the aforementioned 'magic' code.
I'll have a look though. Cheers
Oki said:
Have you considered that this today items could be part of the shell32.exe application?
Same happens for some Control panel applets that do not have any DLL or EXE file.
Regards,
Oki
Click to expand...
Click to collapse
Hi again,
the application which I'm programming shall run in kiosk mode. Currently, I have a quite simple realization by hiding the shell parts (Taskbar, Start-Icon and SIP button), and by resizing the main window to screen size.
That works quite fine, I've additionally deactivated all of the hardware buttons.
But: The application shall access the device's phone application. Every time the phone application is active, there appears the Start-Icon and other items of the standard WCE screen.
How could I avoid this problem?
I'm working on the ARTEMIS device, Windows Mobile 5.0 and I'm programming in native c++ (Visual Studio 2005)
thanks,
Günther
Quick question:
I assume you use SHFullScreen API to hide the taskbar and stuff.
At what point do you call it?
According to documentation and from my experience you need to call it after your window becomes foreground so doing it from WM_CREATE may be too soon. Try returning the HWND from Create window and using it to call the SHFullScreen isntead of WM_CREATE handler.
You can also, move/resize/hide navigation bar window and check it in loop.
Use a Remote Spy++ to determine windows classes.
@levenum: Yes, I'm using the SHFullScreen API. Currently, I'm calling it after pressing a button to toggle full screen mode. However, this doesn't prevent the application to show the taskbar after the internal Phone application has been used. Furthermore, after using the phone, my application automatically swiches back to reduced screen mode in any case.
@THEVK: Well, this also sounds reasonable - I could already acquire the handle of the taskbar and hide/disable the window. Now I still have to think about bringing the phone application or the contacts application to the background when they aren't needed anymore. But I think I could do that by simply adding some buttons to my main application and placing them at the location of the taskbar...
thanks and cheers,
Günther
Taskbar have a code, which bring it on top always, IMO.
I think, the best solution to hide taskbar window and place your custom window there.
disable kiosk
hi a customer brings a windows mobile phone which is in a kiosk mode and he don't know the password for it and i can not take it back again is there any way that i can disable kiosk mode??
It sounds more like the phone is locked by a password than that it is a actually in "kiosk mode".
In such case there is a high possibility the reason the customer does not have the password is because it is not his phone.
But if that is not the case (and I hope so) then you should give details about what kind of phone it is (exact make and model) and describe the kiosk application that is running.
Perhaps then someone will have the answer for you.
hi,
I've created an application that runs in kiosk mode. However, there sometimes appear certain system popups (e.g., when a GPRS connection is being established). Quick users can then tap the "Settings" field in the popup and access parts of the system that I want to prevent (no possibility for the user to access system settings).
Thus, is there any possibility to disable those popups? (Preferably, disabling should work programmatically...)
(I'm using the HTC ARTEMIS, sw is developed in native c++ using MS Visual Studio 2005).
best regards,
Günther
Hi,
my application on Windows Mobile 5.0 shall run in kiosk mode. Therefore, I've disabled the TaskBar and did some other stuff. Basically, it works great, but I'm still having a few problems:
1. When I hide the taskbar, also the "OK" Button which is needed by some dialogs gets hidden. Therefore, when the user e.g. wants to change communication/GPRS settings, there is no way to accept the changes or close the regarding dialogs. (I have to use these sort of things provided by the operating system - thus, the OS is not entirely hidden).
Is there any possibility to simulate the TaskBar's OK button within my own application? (E.g., by sending a certain Windows-Message indicating the OK-Button pressed?)
Or, alternatively, is it possible to just hide some parts of the TaskBar (e.g., the Start Button) and keep the OK button, clock, and GSM status visible??
2. Somestimes, there appears a system-notification window, e.g. notifying the user about establishing a GPRS connection, or regarding failures. Is it possible to intercept these dialogs and to hide them, or just to disable them such that the user can see it, but tapping the "Cancel" or "Settings" button won't cause any action?
I'm working with Visual Studio 2005/windows Mobile 5.0 SDK in visual c++ and I'm using the HTC ARTEMIS device
Kind regards,
Günther
1. You can send WM_COMMAND with wParam = IDOK.
It must work, because it's how app handle it!
Is there anything I have to consider when sending WM_COMMAND system-wide? A simple PostMessage(NULL, WM_COMMAND,...) seems not to work. Do you see any possibility to get a Windows handle to the active application that should receive the WM_COMMAND message?
Or do you have any idea how applications tell the TaskBar to show the OK or Cancel button? I think this happens via system-wide windows messages, doesn't it? But which messages, and how to intercept them???
Any help is still highly apprechiated (it seems that nobody else did ever have this problem, also in various fora I couldn't yet get an answer... )
I have the same problem with the ok buttom. My PDA have 1 buttom for the camera, so I use this buttom like an OK buttom, for now.
But I´m still trying to make the ok buttom be operacional on the blocked taskbar.
I have to prepare a device for someone who may not access the settings page, but i don't know how to do it the easy way.
Ofcource i can put in all the reg:
HKLM\ControlPanel\<app>\hide = 1
or for each app to set the group key to 4 or something.
but that means a lot of work.
My question is: is there a easy way to disable settings menu?
I think that there is no easy way - due to the nature of pocket pc OS Your work can be always characterised as "security by obscurity".
Maybe You can constantly monitor active windows and terminated unwanted process - but this approach is hard to implement and user unfriendly
properly there is an alternative way.
if i rename or delete \windows\start menu\settings it would disappear