|
You're welcome
|
|
|
|
|
Probably you should look at the option of creating modeless dialog box
-Prakash
|
|
|
|
|
Only chance for you is Modaless dialog.
instead of calling DoModal() call Create()
example
MyClass *obj;
obj = new MyClass();
obj->Create(IDD_DIALOG1,this);
obj->ShowWindow(SW_SHOW);
|
|
|
|
|
waxie wrote: Is there a way to hide the dialog box
http://www.voidnish.com/articles/ShowArticle.aspx?code=dlgboxtricks[^]
waxie wrote: r set dialog box A at the back of another modal dialog box?
Use SetWindowPos Api in the OnInitDialog Virtual Function of your Dialog and Instead of returning TRUE from same function return FALSE
"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
|
|
|
|
|
|
Owner drawn wrote: This will help you...
Hai, i win the race this time
"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
|
|
|
|
|
|
Owner drawn wrote: I didn't see your post as the page was not refreshed. I only saw it afterwards.
Better Luck next time... Welcome to Fastest Finger Fast Competition
"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
|
|
|
|
|
|
|
toxcct wrote: Fastest Nose Contest
Opps, i forget the name of contest
"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
|
|
|
|
|
Am working with an MDI application with multiple Views and mutiple doc/views. Have a number of views in Property Pages and have Property Pages with a variety of controls. Would like to combine on one property sheet a number of controls and a CRichEditView of one of the Doc/views instantiated at startup (in the app).
How do I display a smaller frame and view within a single property page that has other controls (buttons, combo-box, other edit controls, etc )
|
|
|
|
|
Hi
I don't know what do you want exacty?
Property page is similar than Dialog window. So the same way you can add frames and controls inside the property page also.
then you should add all the property pages to property sheet class.
regards
Vallikumar A
|
|
|
|
|
Is it possible to change the boring Icon when you create an ActiveX control in VS 7.1
The default - rectangle with circle is pants!
|
|
|
|
|
|
Select the resource->Bitmap->IDB_ATLCON
Here you can draw a new Bitmap or import a bitmap file.
And delete the existing IDB_ATLCON and give the same name to new Bitmap.
regards
Vallikumar A
|
|
|
|
|
This resource does not exist in either project that created or used the ActiveX.
The default Icon that appears in the ToolBox is OCX (thats the project using the ActiveX), but get the silly Rectangle with cirle on the dialog at the design time.
|
|
|
|
|
I want to make a program which do a fake input. It sounds a foolish program, but I want to make it for a special purpose. I run an application (ex. a game like Age of Empire, Starcraft, so on). And then I run my program. My program create a window (use CreateWindowEx()), and now, I want anything I do on this window will do on that application (I move the mouse, the mouse(pointer) in that application move, I click the mouse, the mouse in that application click, ...).
I tried to get a handle of that application and send message to it (use FindWindowEx() and SendMessage() ) but nothing happened. I also tried SendInput() and AttachThreadInput(), but I failed too.
It may be really foolish, but my program need to do a task like it. Could you help me solve this problem ?
-- modified at 4:38 Wednesday 18th January, 2006
|
|
|
|
|
i dont know the exact solution,
the games like these use directinput, it is part of the DirectX package.
-Prakash
|
|
|
|
|
The game is not very important, I mean any application, such as Notepad, Paint, Wordpad ....
|
|
|
|
|
|
It didnt work at all. I'm sure send message which use SendMessage successfully ( try WM_CLOSE and it worked). But if try to send message WM_MOUSEMOVE, WM_LBUTTONDOWN or WM_KEYDOWN nothing happen. I used Spy++ and did a copy, but nothing happened. That's why I cant understand.
|
|
|
|
|
I feel like I've answered this question at least three times but here we go again. Faking input using the PostMessage or PostMessage API is a hit and miss affair - It will work for some applications and not so well, if at all, with others. The reason is that there is more information associated with a message other then the HWND , the message, the WPARAM and the LPARAM . To access this extra information you use APIs such as GetMessagePos and GetMessageTime . Then there is software that calls functions such as GetAsyncKeyState (this also works for mouse buttons).
This is the reason for the SendInput API - This is what you use to fake input - Unless you're faking for a particular app and you know the message techniques work.
If the application uses DirectInput I'm not sure how you would proceed and if the SendInput will work. This would probably only be an issue for games.
Steve
|
|
|
|
|
I'm not sure on the details but this site has something to say (and something to offer) on DirectInput and faking input.
Steve
|
|
|
|
|
I need to display a file encoded in EUC-JA in an edit control. The app is unicode and the edit control uses Arial MS Unicode, but the file is printed as garbage.
Can anyone point me in the right direction?
Thanx.
|
|
|
|