|
use UrlDownloadToFile()
with query strings.
like http://myserver/mypage.jsp?val1=10&val2=surya
by this you can save the result also.
It's not a bug, it's an undocumented feature. suhredayan@omniquad.com
messenger :suhredayan@hotmail.com
|
|
|
|
|
Thanks
Is there a way that I could get a handle to the browser window from fist call and invoke the same http://myserver/mypage.jsp?val1=10&val2=surya with submit over and over after viewing results.
It is being driven by a file being dropped onto client and the values taken from that file - every time a file is dropped the browser is invoked and the result is displayed.
I haven't tried this UrlDownloadtoFile yet but what I really need is somethinkg like a ShellExec using http://myserver/mypage.jsp?val1=10&val2=surya&submit=Submit that re-uses the same browser - at moment it opens a brand new browser.
Would I have to search for any open browser windows with the specified title and use that - or is there a mathod that keeps a handle to that browser window.
It is also being fired from a service or console app.
|
|
|
|
|
Hi all;
I have downloaded Skin Magic in order to build custom skins for my application. Everything works fine and i have exported the .h file associated with my skin. The problem is now, "how will i include the skin in my application?".
Can somebody please help, i'm pretty at lost with this issue.
Thanks
Krugger
|
|
|
|
|
If you go through the samples that they have provided, then you will have some idea how to use them.
God is Real, unless declared Integer.
|
|
|
|
|
Hi all;
I am developing an SDI application which consists of a CDialogBar. On the bar, i have a tree control displaying some data. I also have a webbrowser control in the View. I need to display an HTML page in the webbrowser control according to the selected tree child clicked by the user. Can somebody, please help me, to access the webbrowser control from my TreeControl.
Thank you
Krugger
|
|
|
|
|
Hi all;
I am currently buidling an SDI application. This application has a CDialogBar (well, some sort of. The actual class used is derived from CDialogBar). The problem is that i have some list_controls which need to be updated and i need the dialog handle. Since the CDialogBar is modeless, the handle is lost and i get an "enormous" assertion error each time i try to add or remove items to the list_control. Can somebody please help me on this.
I badly need it.
Thank you
Krugger
|
|
|
|
|
datastruct wrote:
CDialogBar is modeless, the handle is lost and i get an "enormous" assertion error
if you want it you should save it.
God is Real, unless declared Integer.
|
|
|
|
|
Does anyone know where I could get a free program that intercepts Winsock Messages on a specific port, and displays the message for debugging programs? Thanks a bunch....
-KMaz
|
|
|
|
|
google on ethereal
TOXCCT >>> GEII power
|
|
|
|
|
ethereal is a freeware, 10Mo heavy...
TOXCCT >>> GEII power
|
|
|
|
|
cant say for sure, but try running "netstat" from the command-promt in a seperate window when u run ur program.
Well, netstat gives list and condition of all active connections and at-times becomes very messy, but try it if u dont find anything else.
...Avenger
Remember... testing & debugging are always part of programming ...so exterminate those stinking bugs
|
|
|
|
|
I have a common C++ program and try to execute DoModal() on my dialog. When I do it from within the view it goes well but when i do it from another dialog that is a child to the view the dialog doesn't get focus even though i click in it. When I click on my program down in the program bar, the dialog gets focus. Anybody had this problem?
Robert
|
|
|
|
|
yes it does. just take care off the return value of OnInitDialog()
TOXCCT >>> GEII power
|
|
|
|
|
What do you mean by take care of. I can override OnInitDialog and get the value that the base class returns, but what should I do with it.
|
|
|
|
|
the last OnInitDialog () line is that one :
<font style="color:blue;">return </font>TRUE; <font style="color:green;">
what does it make you fell ??
TOXCCT >>> GEII power
|
|
|
|
|
toxcct wrote:
what does it make you fell ??
I feel that you must be feeling very stupid with your answer.
God is Real, unless declared Integer.
|
|
|
|
|
Did you set the pointer to the first dialog as a parent of the second?
Robert-Antonio
"Give a man a fish, he owes you one fish. Teach a man to fish, you give up
your monopoly on fisheries."
|
|
|
|
|
Solved it. the problem was that I posted the message to another window that created the dialog.
|
|
|
|
|
Is it possible to "reuse" the explorer context menu?
I have a file name, and want to Windows Explorer context menu for that file as a sub-menu of my own context menu. Execution of the command etc. should all be left to explorer (i.e. I don't want to "interfere" with this)
Flirt harder, I'm a Coder
mlog || Agile Programming | doxygen
|
|
|
|
|
peterchen wrote:
I have a file name, and want to Windows Explorer context menu for that file as a sub-menu of my own context menu
I belive you are talking abut shell extension, Micheal Dunn has few articles on what you are looking for.
God is Real, unless declared Integer.
|
|
|
|
|
No, I don't want to write a shell extension, I just hope to find a way to reuse this menu (without turning the file name into a PIDL and then playing explorer - I roughly know the protocol how this menu is created )
But you're right, I should have thought of Michaels articles, I'll check them....
Flirt harder, I'm a Coder
mlog || Agile Programming | doxygen
|
|
|
|
|
Can somebody please explain what I have to do in order to have CButton controls on dialog respond to WM_CHAR messages (and not to use PreTranslateMessage() ). I tried to put OnChar() in my instance of CDialog with classWizard but the dialog just beeps when I press keys.
|
|
|
|
|
Are you talking about shortcut keys ? did ya try putting '&' before one of the char in the dialog button text ?
God is Real, unless declared Integer.
|
|
|
|
|
Did you try it by subclassing cbutton.....you should derive your own class(CMyButton) from CButton and use CMyButton on your dialog box instead of CButton and then add the messagemap for WM_CHAR ...it will work...
cheers
|
|
|
|
|
When you detect a second instance is being launched, why not call ShowWindow(SW_RESTORE) ?
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|