|
Yeah after this method returns successfully, the framework will call the page CPropertyPage::OnOK method.
Love Forgives--Love Gives--Jesus is Love <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
i have created a ToolBar using
hwndTB = CreateWindowEx(0, TOOLBARCLASSNAME, (LPSTR) NULL,
WS_CHILD | CCS_ADJUSTABLE, 0, 0, 0, 0, m_hWnd,
(HMENU) IDR_TOOLBAR_TEXTCHAT, AfxGetApp()->m_hInstance, NULL);
and attched images etc etc....
I have to place the toolbar at a particular place in DIALOG. I use SetWindowPlacement & SetWindowPlacement...But it wont worked...
The toolbar showing at the top always....When i tried using MFC, it worked!!!
Any help/suggestions?
Anilkumar
|
|
|
|
|
RepositionBars()
Love Forgives--Love Gives--Jesus is Love <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
I am looking for Win32 SDK solution....
anilkumar
|
|
|
|
|
The default behavior of a toolbar is to position itself at the top of its parent's client area. Add CCS_NOPARENTALIGN to the toolbar's styles to turn off that behavior.
--Mike--
Visual C++ MVP
LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
There is a saying in statistics that a million monkeys pounding on typewriters would eventually create a work of Shakespeare. Thanks to the Internet, we now know that this is not true.
|
|
|
|
|
|
mfc dialog based application hangs on win 2000 but works fine on xp
do any one of u had similar problem,
what could be the reason
I am an INDIAN
|
|
|
|
|
Check ur DLL versions///
It is not due to you are INDIAN.....Nothing to do with INDIA
Anil
|
|
|
|
|
anilFirst wrote: It is not due to you are INDIAN.....Nothing to do with INDIA
That is his sig :P
-Prakash
|
|
|
|
|
>>> anilFirst wrote:
>>> It is not due to you are INDIAN.....Nothing to do with INDIA
====================
Just joking..
|
|
|
|
|
yes!!! that is my sign
Thanks u Mr. Prakash
|
|
|
|
|
j_tambi wrote: mfc dialog based application hangs on win 2000 but works fine on xp
do any one of u had similar problem,
what could be the reason
Generally i never came across such problem, but it could possiblely depend what you are trying.
Try to debug the application in win200 environment.
-Prakash
|
|
|
|
|
No buddy i am working on win 2000
but i have not faced any problem of
such type .
But if ur dealing with sothing related
to hardware or so it can be . As far
as Dialog based app is concern its fine.
U might be missing some dll's
INDIA is GREAT
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
Well, If an MFC based application hangs on win2000 there may be many reasons for that.
To name a few it might be an poorly designed code for.example. a while loop causing an infinite iteration eventually causing the hangup or an OS corrupted with virus etc..
I started coding in win2000 only and it very well supports Dilaog based applications.So Go ahead and have fun ....
JAI HIND
Rajeev
|
|
|
|
|
the application communicates with a usb device
every thing is ok on xp , but system hangs on win 2000 (not the application even ,need to restart the system)
I am an INDIAN
|
|
|
|
|
i does't mean win 2000 is not supporting dialog base application
i am looking for reasons for system hang at the startup of the application,
application is communication with usb device
application works at best in XP
Vandeeamatharam
(as 20 more days for republic day)
|
|
|
|
|
OK now there is the Bug
communication with the USB .
Actually the device driver frame work on which
the two operatign system reside are different &
so difference in programing of device driver
exist for 98,2000,XP
As u said do i use the HID class to communicate
with the USB
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
systems hangs up at start up of the application,
with out user request for any communication with usb device
i am using sdk,
what is HID class ?
Thnak u for ur Answer, pls help me out ...
|
|
|
|
|
Why peopel will get this type of problem
running on on xp,,,..system hang on 2000
wht can be the list of posibilites for these ?
|
|
|
|
|
ptr_Electron wrote: running on on xp,,,..system hang on 2000
Actually, when SD develop Software targetting different Windows OS, these type of problem generally appear, as new OS always contain some better class or dll then previous version..
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Hi,
I am getting problem like "fatal error C1083: Cannot open include file: 'psapi.h': No such file or directory". can u plz tell me how to get psapi.h file.
waiting 4 ur reply
|
|
|
|
|
It's part of the Platform SDK - available from the Microsoft website
--
Help me! I'm turning into a grapefruit!
Buzzwords!
|
|
|
|
|
|
If u get it then pls email me the
header and the dll file
as i cannot download the 300+MB of
SDK platform for those files
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
its better you install the SDK, you will then keep looking for other header fiels and other dll and libs.
-Prakash
|
|
|
|