|
Folks,
I am really hoping you can help me with this because I have no idea what it means. I have just installed embedded Visual C++ 4.0 w/ SP3, SQL Server CE 2.0, and emulation images for Windows Mobile 2003 second edition on two computers. One is a laptop and the other is a desktop running Windows 2000 with the latest patches. It has an AMD 64 bit CPU and SATA drives. On the laptop, everything works fine, but on the desktop, when I try to compile anything, I get a message box labeled "cl.exe - No Disk" and the message "There is no disk in the drive. Please insert a disk into drive \Device\Hardisk3\DR7".
I have googled for this message and searched msdn but can't find anything relevant. Any assistance would be MUCH appreciated.
I have posted this also in the Embedded/Mobile board and apologize for the double posting, but I'm not at all sure the problem is specific to eVC.
Regards,
Matthew Fleming
|
|
|
|
|
In Tools -> Options, you can go to the Directories tab and see where it's looking for things. If there are duplicate paths that don't exist anymore then you can just delete them from there and you'll have no problem anymore.
|
|
|
|
|
My problem is this : I want an event when the user stops resizing the window by using the mouse by means of dragging:
a) if the user hasn't finished dragging the margins : do nothing
b) when the user released the drag and drop mouse : Resize the controls in the window
The windows I'm using are MDIChildFrame
I tried overwriting OnSize(WM_SIZE) but gets called only when it's maximized or minimized not for dragging
I tried overwriting WM_SIZING in Window proc but gets called continuosly when user is dragging. so difficult to Resize the controls...flickering problem
So i want to know is there any event that can be captured once the dragging of mouse is over?????
can some one help me ....very urgent.....
Adi
Software Engineer
|
|
|
|
|
Hmm, I think you'll need to keep track of a WM_LBUTTONDOWN and handle WM_SIZE if a corresponding WM_LBUTTONUP has been received. You should probably also handle WM_KILLFOCUS in order to reset the mouse-down state.
Just to make sure I've interpreted your question correctly, you only want to control window resizing if the mouse was used, right?
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
Handle WM_ENTERSIZEMOVE and WM_EXITSIZEMOVE to know when a resize or move operations begins and ends. When you get WM_ENTERSIZEMOVE , save the window's RECT . When you get WM_EXITSIZEMOVE , get the new RECT and if it's different, move your controls around.
--Mike--
Personal stuff:: Ericahist | Homepage
Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt
CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ
----
"die"
ahhhh!
"diet"
AAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!
|
|
|
|
|
thanku very much Ravi and Michel.
i tried wht michel was telling... it's working fine.
thanks again...
Adi
|
|
|
|
|
Hi all,
Could anyone show me an implementation of ICopyHook Interface and CopyCallBack Function.?
Where can i find free source code or project for this purpose.?
Thanks a lot.
|
|
|
|
|
how can I hide my VC++ application from task list
is there any API?
any example will do!
|
|
|
|
|
are you lokin for ShowWindow(hWnd,SW_HIDE);
greatest thing is to do wot others think you cant suhredayan@omniquad.com
messenger :suhredayan@hotmail.com
|
|
|
|
|
Suhredayan P wrote:
ShowWindow(hWnd,SW_HIDE);
it will hide the window too.
MSN Messenger.
prakashnadar@msn.com
"If history isn't good, just burn it." - Sidhuism.
|
|
|
|
|
I want that my running exe should not be visible in the task manager list, is ther a way
|
|
|
|
|
there is no harm being in the task managers list unless you are writing a crook program.
MSN Messenger.
prakashnadar@msn.com
"If history isn't good, just burn it." - Sidhuism.
|
|
|
|
|
Yes I do want to write a spy application, which the users should not aware that it is running when pressed CTRL+ALT+DEL to see the list of running programs, where my running application should be invisible
|
|
|
|
|
instead of hinding your application from the task manager (something i doubt you can do) you can give some name that looks like some windows service
MSN Messenger.
prakashnadar@msn.com
"If history isn't good, just burn it." - Sidhuism.
|
|
|
|
|
Task Manager's Applications tab does not actually show applications—it shows the captions of visible, top-level windows .The Task Manager builds this list by walking through all of the top-level windows in the system (using something like EnumWindows), and adds to the list the windows that have the WS_VISIBLE style bit turned on.
greatest thing is to do wot others think you cant suhredayan@omniquad.com
messenger :suhredayan@hotmail.com
|
|
|
|
|
I think you are confused with Spy++
MSN Messenger.
prakashnadar@msn.com
"If history isn't good, just burn it." - Sidhuism.
|
|
|
|
|
that was how Jeffrey Richter told me abt taskmgr.exe.
greatest thing is to do wot others think you cant suhredayan@omniquad.com
messenger :suhredayan@hotmail.com
|
|
|
|
|
Set the WS_EX_TOOLWINDOW extended window style.
Edward.
|
|
|
|
|
hain i want ot extend you more,
you have remove CS_titlebar property to hide completly
ok
Alok Gupta
visit me at http://alok.stormpages.com
|
|
|
|
|
hi
is there a function in windows API that can return actual position of
child window (control) in say for example formview?
Something opposite to SetWindowPos(..)
For now i must calculate it using GetWindowRect (of formview) and
GetWindowRect (of control). But it is lot of work when i have lot of
controls in form and i want to reposition them in OnSize(...)
thx
|
|
|
|
|
Have you tried GetClientRect() ?
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
GetClientRect returns just coordinates of client area of window, so how can it help me?
I'm trying to calculate left/top corner of one window that is inside other bigger in 'biggers's' coordinates.
But it's not critical for me. I just thought that there is some magic function that all have knowledge of and i'm not.
I will do it my way then.
thx for response
Chris
|
|
|
|
|
Get the window coordinate of the control using getwindowrect(...)
then map it to "bigger" client window using screentoclient(...)
you need to build the logic over that.
hope it helps.
MSN Messenger.
prakashnadar@msn.com
"If history isn't good, just burn it." - Sidhuism.
|
|
|
|
|
CMultiDocTemplate* pDocTemplate;
pDocTemplate = new CMultiDocTemplate(
IDR_EX20DTYPE,
RUNTIME_CLASS(CPoemDoc),
RUNTIME_CLASS(CChildFrame), // custom MDI child frame
RUNTIME_CLASS(CStringView));
AddDocTemplate(pDocTemplate);
m_pTemplateHex = new CMultiDocTemplate(
IDR_EX20DTYPE,
RUNTIME_CLASS(CPoemDoc),
RUNTIME_CLASS(CChildFrame),
RUNTIME_CLASS(CHexView));
when i in the end add "AddDocTemplate(m_pTemplateHex)",although run,but just stop run suddenly pop a warning messagebox,why?i see from msdn ,can add two more,why not in my program?
|
|
|
|
|
Try deriving new doc,
make it dynamically creatable
and use that to register second document template.
greatest thing is to do wot others think you cant suhredayan@omniquad.com
messenger :suhredayan@hotmail.com
|
|
|
|