Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Bug in CExtControlBar::ProfileBarStateSave() Collapse All
Subject Author Date
Pucefti Jul 18, 2002 - 3:14 AM

Hi,

I have a problem with CExtControlBar::ProfileBarStateSave(), when I use it the maximized window is not center. I think there is bad data save in the registry because when I delete the corresponding key the window, it’s center correctly. I don’t think the cause is my application (SDI app) because there is the same bug in the SDIDOCVIEW exemple.

Thanks

A+
    Pucefti

PS : great library, very good job
PS2 : sorry for my english

Sergiy Lavrynenko Jul 24, 2002 - 11:50 AM

Hi
I could not get the point of the bug you described.
Could you give me more information about it:
1) Where the frame window is located before closing the application?
2) Which registry key was removed?
3) Where the frame window appears when you start the application next time?

pucefti Jul 25, 2002 - 9:32 AM

Hi,
When I close the application maximized, and I reopen it, the frame window move to the bottom, and it’s impossible to recenter it. And every time I open it, its moving is more important. After open it about eight times the moving become very small, then increase in the same way etc…

When I suppress this key:
HKEY_CURRENT_USER\Software\Foss\SDIDOCVIEW\ProfUIS215\Profiles\SDIDOCVIEW\ControlBar\block_0x00000000

The app is center when I open it, but when I close it, the key is rewritten and the problem reappear.

Note : My system is Visual c++ 6.0 sp5 under Windows XP pro.

Hope this help

A+
    pucefti