Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#36 Three wce platform fixes

Unstable (example)
closed-fixed
None
5
2014-02-21
2007-10-04
Dmitry Yakimov
No

I have found three small issues look at the solution:

1. atlframe.h, DlgResize_Init: we should place in #ifndef _WIN32_WCE this block:

#ifndef _WIN32_WCE
// Adding this style removes an empty icon that dialogs with WS_THICKFRAME have.
// Setting icon to NULL is required when XP themes are active.
// Note: This will not prevent adding an icon for the dialog using SetIcon()
if((dwStyle & WS_CHILD) == 0)
{
pT->ModifyStyleEx(0, WS_EX_DLGMODALFRAME);
if(pT->GetIcon(FALSE) == NULL)
pT->SetIcon(NULL, FALSE);
}
#endif

because on wce all main windows are fullscreen without any borders.

2. atlwince.h, it would be great to replace all calls (3) of SetOrientation with pT->SetOrientation because I had to reimplement the whole class to get a needed functionality. There must be a way to change a behavior of base classes.

3. atlwince.h, Sometimes StdPlatformInit and StdShidInit are called with pT-> sometimes not. I suppose there should be a unified way of calling via pT->

Best Regards,
Dmitry Yakimov

Discussion

    • assigned_to: nobody --> nenadstefanovic
     
    • status: open --> closed-fixed
    • Group: --> Unstable (example)
     
  • Straightforward and logical - fixed as proposed. Commit #491
    Too bad it took so long...