Using ShellExecute to open a web page as a child of Dialog
-
I can understand what's said there. But I don't know what parameter values to pass to ShellExecute to accomplish my task. I need some information about parameters(change in coding).
-
I can understand what's said there. But I don't know what parameter values to pass to ShellExecute to accomplish my task. I need some information about parameters(change in coding).
ShellExecute(NULL, "open", "http://www.microsoft.com", NULL, NULL, SW_SHOWNORMAL);
replace www.microsoft.com with where you want to go to
-
ShellExecute(NULL, "open", "http://www.microsoft.com", NULL, NULL, SW_SHOWNORMAL);
replace www.microsoft.com with where you want to go to
This opens inside an already opened window. I want to open the web page in a separate browser window.
-
This opens inside an already opened window. I want to open the web page in a separate browser window.
try
ShellExecute(NULL, "open", "http://www.microsoft.com", "-new", NULL, SW_SHOWNORMAL);
-
try
ShellExecute(NULL, "open", "http://www.microsoft.com", "-new", NULL, SW_SHOWNORMAL);
This opens in a new browser window if already an window is not there. If it's there, my web page is opened in the exisiting browser window. Can we have control over the size of the browser with ShellExecute?
-
This opens in a new browser window if already an window is not there. If it's there, my web page is opened in the exisiting browser window. Can we have control over the size of the browser with ShellExecute?
-
This opens in a new browser window if already an window is not there. If it's there, my web page is opened in the exisiting browser window. Can we have control over the size of the browser with ShellExecute?
pix_programmer wrote:
Can we have control over the size of the browser with ShellExecute?
Isn't that what the sixth argument is for?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
-
pix_programmer wrote:
Can we have control over the size of the browser with ShellExecute?
Isn't that what the sixth argument is for?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
What value has to be set to this parameter, so that my web page is opened in a smaller browser window than the normal?
modified on Wednesday, June 1, 2011 9:22 AM
-
What value has to be set to this parameter, so that my web page is opened in a smaller browser window than the normal?
modified on Wednesday, June 1, 2011 9:22 AM
There are only 12 possibilities, and some of those do not apply (e.g.,
SW_HIDE
). In less time than it takes to read this post (and respond), you can have over half of them tested."One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
-
Hi! I've to open a web page inside a Dialog(not as a popup) using ShellExecute. I've to use ShellExecute why because Navigate() function works only if IE is present in a System.Is this possible with ShellExecute? Or is there any other alternative?