|
CWebbrowser Control is used IE proxy setting.
|
|
|
|
|
If i uninstall IE it still is taking somesetting and running.
|
|
|
|
|
You can change the proxy with InternetSetOption method from the wininet.dll
|
|
|
|
|
How to make WebBrowser to take setting from default webbrowser. For example it should take from Firefox if it is default browser.
Thank you..
|
|
|
|
|
Member 3834630 wrote: For example it should take from Firefox if it is default browser
Why? The web browser control is always Internet Explorer under the hood, even if you've uninstalled IE. It doesn't magically use your default browser.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Thank you. Yes, it doesnt magically get setting from default browser.
My question is, how to make Webbrowser to get setting from Firefox, if it is make default browser? Is this possible or not?
Thanks..
|
|
|
|
|
Member 3834630 wrote: how to make Webbrowser to get setting from Firefox
By making sure that the Internet Explorer proxy settings are the same as the Firefox settings...yourself.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
I have two processes creating an instance of CWebBrowser, is it possible to have different proxy settings for these two processes?
|
|
|
|
|
Hi All
I am useing CDatabase and OBDC to write data in Excel.i hava a problem in some specific condition like
"Create table test(Value Varchar(20),Type varchar(30)); .
That time i am getting exception message
Syntax error in filed defintion.
Can anyone help me to remove that problem.
|
|
|
|
|
|
Hi,
is There any Third party tool to detect resource leaks...
or is it possible to write my own code to detect the same..
if yes pls help me with any sample....
|
|
|
|
|
Try BoundsChecker or Purity
|
|
|
|
|
I prefer more to use Deleaker - russian alternative to BoundsChecker, it works more perfectly.
|
|
|
|
|
What kind of resource? GDI or handles?
|
|
|
|
|
hi Friends!!
i am displaying a wmf image on the view.. i have problem that Certain WMF files are not getting displayed on the view.. One thing i am doing is resizing the image before it is been displayed on view.. i have noticed that this happens if the Dpi is 1000?
can any one show me way??
Thnks in advance
Regards
Samir
|
|
|
|
|
You could:
- Debug your code.
- Post here the relevant resizing code.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi all,
I am making my application unicode supporting one. i have .txt,.doc files.. i want to upload the file in my application.
I want to check what type of file before loading.. i am able to check whether ANSII or Unicode using BOM. I dont know how to check for UTf-8 and Unicode Big Endian type files. Its not accepting BOM condition.
Does anyone know how to check that one?
------------------------------------------------
Code Snippet:
This is how, i check for unicode encoded file:
if (file.Read(&firstChar, sizeof(wchar_t)) > 0 && firstChar == (wchar_t)0xFEFF)
{
......
}
But, UTF-8 and unicode big endian type of files dont satisfy this condition.
--------------------
Please guide me how to resolve this issue.
Thanks,
Rakesh.
|
|
|
|
|
00 00 FE FF UTF-32, big-endian
FF FE 00 00 UTF-32, little-endian
FE FF UTF-16, big-endian
FF FE UTF-16, little-endian
EF BB BF UTF-8
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
Hi Superman,
I tried exactly those methods you have mentioned in my code.. But to my surprise, it didnt work well..
Can you please guide me how to resolve this issue??
Mohan
|
|
|
|
|
Hi guys,
I am relatively new to programming dx.
I just want to know if it is possible to draw a small blue semi transparent object on the desktop so that it will not affect the desktop. I mean you could still click your icons etc.
thanks !
|
|
|
|
|
You could do that with an always-on-top Layered Window[^] (this would take care of the semi-transparency) with the WS_EX_TRANSPARENT[^] extended style set. How you can fit that in with DirectX is another question...
p.s: This[^] might be usefull too.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <
|
|
|
|
|
Thanks !
And would you know how I can paint that window blue ?
|
|
|
|
|
Well, that depends which path you took, if you checked out this[^] link and read the Using Layered Windows section you can either simply paint it blue in OnPaint or create a bitmap, paint it blue and use UpdateLayeredWindow . It mostly depends on your needs. Since you want a blue triangle, as i understood, you could use the WM_PAINT aproach with SetLayeredWindowAttributes[^] and next to the alpha value specify a colorkey, then fill your dialog in WM_PAINT with the "hollow color" and then paint a blue triangle onto this.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <
|
|
|
|
|
Quote: "Hit testing of a layered window is based on the shape and transparency of the window. This means that the areas of the window that are color-keyed or whose alpha value is zero will let the mouse messages through."
I think layered windows is JUST what I need, thank you so much.
It might sound odd, but since I am really new to all this, would you know of a place where I can find a project for Layered windows so I can explore it a bit more ?
|
|
|
|
|
Well, not really, sorry, but Google[^] is your friend and your search is as good as mine, and also you can look around here at Codeproject, there should be such articles or examples like this one[^] for example. Good luck.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <
|
|
|
|