|
Hi,
Can anyone please illustrate the scrolling of content in window,(a class derived from CWnd & not the MFC view class)
Thanks in advance,
Regards,
Mangesh Sardesai.
|
|
|
|
|
Does anyone knows for the fact how IE uses Winsock if at all? It appears to me that IE is using LoadLibrary to load Wsock dll but I think I've read somewhere that it is also done on kernel level (as a part of permanent integration of IE and WIN OS).
I'm asking this because I would like to hook up to Wsock calls (I guess I will have to hook to LoadLibrary first) in order to be able to control Internet access on a particular computer.
TIA, Sasha Djurovic
|
|
|
|
|
API Hooking by DLL Injecting Revealed - WinSock2 Hook
this is my winsock interceptor . get into ie and see ! it uses ws2_32.dll ! I interceped its calls !
//rate me or hate me
I am the mighty keeper of the book on knowledge . Contact me to get your copy .
|
|
|
|
|
Hello
I'm looking for Code to put three local-groups to a folder. (With NT4 later as well with WK2)
A top-folder with read right for the domain-users
A Group xx00-LC should get change-right on all subfolders
A Group xx01-FR get read-right on folder 1 (xx02-FR on folder 2 ....)
A Group xx01-MC get change-right on folder 1 (xx03-MC on folder 3 .....)
THX for ansswers
Beda Schöpfer
|
|
|
|
|
I'm in a vbscript class and I can't figure out how to get to substring to be capitalized. I need only the first letter of the word captilized.
I can get the first or the last but not both. My code works if I use document.write but not if I use txtTextBox.value.
Please Help
Thanks
|
|
|
|
|
Some may have seen earlier posts about Universe Technology, but here is the full description of whats going on.
Universe Technology is a beginning company that is looking to make its start in designing web pages that bring in money through advertisement. So far we have two sites that are being worked on by our ASP developers, the site layout itself has already been finished.
We are now looking for people that design Web Pages, and can design them REALLY well. I'm talking sites like everlore.com, starcraft.org, etc. This doesn't mean you have to do the programming, just the site layout. Although that you would have to do completely, HTML and Artwork.
If you are interested in working with us, please send me an E-Mail at Alexjfink@aol.com. Thank you.
|
|
|
|
|
Hi,
I am developing an ODBC driver for a custom database. I am unable to proceed further because of lack of knowledge. can someone please help me in this regard by giving me info on how to implement ODBC drivers (with network support). Articles, links, source code would be very useful.
Thanks,
|
|
|
|
|
Any one know how to do this?
Any examples would be cool
|
|
|
|
|
|
Check out
http://codeguru.earthweb.com/controls/ToolTipWithoutMFC.shtml
---------------
Dan Ammasai
---------------
|
|
|
|
|
Hi,
If anyone have any example about DAO please send to:
hadi_rezaie@hotmail.com
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
I have an application that subclasses an LBS_OWNERDRAWFIXED listbox window. When
I subclass the window it seems to break the listbox so that horizontal scrolling
and painting do not work correctly (perhaps other things as well that I have not
gotten to yet. Assuming that it was a problem with my subclass procedure I
reduced it to the following code:
//* The listbox definition in the dialog resource
LISTBOX ID_USERS_LISTBOX, 3, 22, 324, 185, LBS_OWNERDRAWFIXED |
LBS_MULTICOLUMN | LBS_NOINTEGRALHEIGHT | WS_VSCROLL |
WS_HSCROLL | WS_TABSTOP
//* Subclass the listbox earlier in the code....
fpOldListProc = (FARPROC) SetWindowLong(hWndList,
GWL_WNDPROC,
(DWORD)ListProc);
//* Listbox subclass procedure
LRESULT APIENTRY ListProc( HWND hWnd, UINT Message, WORD wParam, LONG lParam)
{
return CallWindowProc((WNDPROC)fpOldListProc, hWnd, Message, wParam, lParam);
}
with the same result. It is worse in Win2000 than in Win/98 but basically the
same kinds of problems are there. In Win2000 the items the space below the
bottom row in the listbox and below and to the right of the last row of items is
not repainted as well as horizontal scrolling not working correctly.
I've tinkered with this for a week and I'm at a loss. Any suggestions or
pointers would be greatly appreciated.
Thanks
Neil
Neil Lamka
neil@meetingworks.com
|
|
|
|
|
http://support.microsoft.com/support/kb/articles/Q197/6/90.ASP
http://msdn.microsoft.com/library/techart/msdn_mfcclip.htm
Also try to do the following:
1. send WM_SETREDRAW and turn off the drawing of the listbox before subclassing
2. Do subcalssing
3. send WM_SETREDRAW to turn drawing back on
4. in your ListProc add the following:
if (Message == WM_NCDESTROY)
{
//return old window proc...
SetWindowLong(hWnd, GWL_WNDPROC, (DWORD)fpOldListProc);
}
Mh2
|
|
|
|
|
I finally had a chance to try your suggestion and it did not seem to help. Any other places you would suggest I look or things I should try?
The strange thing (to me at least) is that reducing the subclass procedure to simply return the default procedure reply (as my example shows) results in the same problem.
Thanks
Neil
Neil Lamka
neil@meetingworks.com
|
|
|
|
|
I need some help coming up with some rock solid error checking and return-code checking for my vbscripts. Currently I am just checking for err.num each time I do some action. Does anyone have any examples they code send me on what industry best practice is.
Thanks
Ben O
|
|
|
|
|
hi,
I'm a budding systems administrator. I'm trying to learn scripting. Now what I want is a script that shuts down the NT4 Server at a certain point of time by stopping all the services running before doing a graceful shut down.
Since i'm new to scipting I would like to take guidance in doing so. SO can neone provide me a script as I have no idea as to how to start, so that I can improvise on it by learning from the script before trying it out with other features.
SAI
SAI
|
|
|
|
|
|
Sorry Uwe - I didnt realise this person had posted the same question
elsewhere on CP - so I sent a huge reply showing the basic way of doing
it - but I'll certainly look at your utility for MY future use
Garth
Garth Lancaster
Integration Engineer
Sydney Australia
|
|
|
|
|
hi garth,
I was actually surfing so I ended up posting it twice. Please excuse for the inconvenience caused to u.
SAI
|
|
|
|
|
hi garth,
I was actually surfing so I ended up posting it twice. Please excuse for the inconvenience caused to u.
SAI
|
|
|
|
|
We're using a series of tables in Sequel Server. These tables are all translated into XML for use in our application (Internet Explorer based). Our application uses these XML documents as data islands and uses the Microsoft Parser to rerieve whatever data is needed. However, in a lot of cases, I essentially need to query these XML documents in the same way I would query a regular database. Anyone know anything about this?
|
|
|
|
|
Maybe you could use XQL (XML Query Language) with the selectNodes method?
|
|
|
|
|
Use XSL:
http://msdn.microsoft.com/library/psdk/xmlsdk/xslp8tlx.htm
Tomasz Sowinski -- http://www.shooltz.com.pl
|
|
|
|
|
look at XPath specifically
|
|
|
|
|
My application needs administrator privileges although the user logged on has only user privilege. I want to change the privilege to administrator at startup of the application.
How can I do this?
Thanks
|
|
|
|