|
Hi All,
Can anyone tell me how to increase the max number of right click menus displayed on any particular icon on the desktop in Win XP?
Thanks and Regards,
Anil
|
|
|
|
|
Soory not quite sure about that.
check Micheal Dunn's "The Complete Idiot's Guide to Writing Shell Extensions" series. It might be useful.
SaRath.
"Don't Do Different things... Do Things Differently..."
|
|
|
|
|
how can i use WinINet to download a file through many connection and not only one like all the download manager
thx
bye
|
|
|
|
|
Hi.
I´ve made a screen capture code using the PrintWindow function, been my input parameter the window handle I want to capture. This window has some buttons, labels, ... that as you may know act as child windows for the first.
It all works fine, mostly, but every 500 or 700 grabs I get one or two of them where child elements appear as black rectangles.
I've read [1] about something like this when child windows style is CS_CLASSDC or CS_PARENTDC. Obviously, I do not create the windows I capture, so I can't change that style.
So, I don't know how to face the problem. Maybe a PrintWindow alternative, but I need independence of the z-order (deep) of the window, getting a clear capture even if the window is not foreground.
Thanks in advance.
[1]http://www.codeguru.com/cpp/g-m/gdi/capturingimages/comments.php/c11231/?thread=9097
|
|
|
|
|
In the WebBrowser application how to get the size of the window which includes the Html document in it , and the scrollbars also.
Regards
Shikha
NetStudio,Pune
|
|
|
|
|
I guess your problem is scroll do you use CHtmlView?
whitesky
|
|
|
|
|
Thanks for your reply .
Yes, i have used the CHtmlView class in my application and i want the size of the html page document i can get size of the window with scrollbar by using getscrollinfo function but it is again not giving the size of the window having the html document.
Regards
Shikha
Netstudio,Pune
|
|
|
|
|
Did you see GetHeight and GetWidth in this class
whitesky
|
|
|
|
|
Yes i can get the GetHeight,GetWidth function but again from that just i can get the height of the window without scrollbars which is not the whole size of the html document.
Regards
Shikha
Pune
|
|
|
|
|
Shikha Jain wrote: In the WebBrowser application how to get the size of the window which includes the Html document in it , and the scrollbars also.
is api GetWindowRect of any use?
"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
Support CRY- Child Relief and You
|
|
|
|
|
Thanks for your reply,
But GetClientRect() only gives the client area size of the window i want the whole page size of the html document i.e with the scrollbars also.
Regards
Shikha
Netstudio,Pune
|
|
|
|
|
Actualy in the previous mail it is by mistake i have written GetClientRect .
yes GetWindowRect you have suggested ,
i have tried that but it again gives the size of the window excluding the scrollbars i.e not the whole html document size .
Regards
Shikha
Pune
|
|
|
|
|
Supposing you actually need the full size of the HTML document, including the parts out of client area, a possible solution can look like this:
CComPtr< IHTMLDocument3 > doc = (IHTMLDocument3*)GetHtmlDocument();
IHTMLElement * doc_element;
doc->get_documentElement(&doc_element);
CComQIPtr<IHTMLElement2> element = doc_element;
long width;
long height;
element->get_scrollWidth(&width);
element->get_scrollHeight(&height);
Please note that the sizes are available only for fully loaded HTML documents, when GetReadyState() returns an appropriate value.
Hope this is what you need in your HTML-capturing application.
|
|
|
|
|
Hi,
I have a program coded in vc++6 and ms access as the database.The data connection is done using DAO.
Suppose I run this program on a computer that does not have microsoft office installed, will it still work? i.e. will it still be able to connect to the database?
If not, will installing the microsoft jet engine be sufficient?
Thanks,
Tara
Fortitudine Vinsinues!
-- modified at 4:22 Sunday 4th June, 2006
|
|
|
|
|
You dont need to install MS Office, but you have to install MDAC. Jet engine will come as part of MDAC.
cheers..Milton KB
|
|
|
|
|
Milton KB wrote: install MDAC
Please can you tell me what is MDAC. Is it something which is freely available?
Tara
Fortitudine Vinsinues!
|
|
|
|
|
|
Thanks a lot, Sir.
Fortitudine Vinsinues!
|
|
|
|
|
|
why u have used negative values in the code? it is a 2d cordinate, and starting from 0,0 values.
pls change the code with positive values and check it
SaRath.
"Don't Do Different things... Do Things Differently..."
|
|
|
|
|
See here maybe it is some helpful to you
<br />
PRINTDLG pd;<br />
DOCINFO di;<br />
memset((void *)&pd, 0,sizeof(PRINTDLG));<br />
pd.lStructSize = sizeof(PRINTDLG);<br />
pd.hwndOwner = this->m_hWnd;<br />
pd.Flags =PD_RETURNDC|PD_ENABLESETUPTEMPLATE;<br />
pd.hInstance = NULL;<br />
pd.nMaxPage=1;<br />
pd.nMinPage=1;<br />
pd.nCopies=1;<br />
pd.hDevMode=0;<br />
pd.nFromPage=1;<br />
pd.nToPage=1;<br />
PrintDlg(&pd);<br />
<br />
di.cbSize = sizeof(DOCINFO);<br />
di.lpszDocName = "Test";<br />
di.lpszOutput = NULL;<br />
StartDoc (pd.hDC, &di);<br />
CImage m_Image;<br />
m_Image.Load("C:\\0.bmp");<br />
m_Image.BitBlt(pd.hDC,0,0,640,480,0,0,SRCCOPY);<br />
EndDoc (pd.hDC);<br />
whitesky
|
|
|
|
|
includeh10 wrote: [Message Deleted]
[Click for User Profile] includeh10
Anyway why have you deleted the message?
"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
Support CRY- Child Relief and You
|
|
|
|
|
You can see message in next Here[^]
whitesky
|
|
|
|
|
Is there any option to not have the compiler initialize variables to zero in debug builds?
(I'm using VC++ 6)
- thanks
|
|
|
|
|
as off now my information is the compiler initialize the variabe with a valueu 0xcccccccc in debug build.
SaRath.
"Don't Do Different things... Do Things Differently..."
|
|
|
|