Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jasonzhangx

    How to have the item, selected by rightclick mouse, highlighted

    I am using TreeView control to list item. When the program begins, the first toppest item is alway highlighted. When I rightclick mouse on an item, it is not highlighted. Any suggestion? Thanks in advance.
  2. jasonzhangx

    winsock send function with WSAENOBUFS and WSAEWOULDBLOCK errors

    I am using winsock's send function to send msgs. I set the socket as nonblocking and and buff size (option SO_SNDBUF) as 2048. All msgs's length are the same and less than 2048. My program runs in about 14 hours and got WSAENOBUFS error (no buffer space is available). If the option SO_SNDBUF is...
  3. jasonzhangx

    How to write a script (.bat file) to create a user defined service

    I have more than 50 machines (W2K) to install a user-defined service using: INSTSRV.EXE SVRANY.EXE Is there a way to write a script to install the service automatically. Especially, I am interested in how to write the part to edit registry. The manual procedure is like...
  4. jasonzhangx

    Popup Menu just showing up at the top left corner of the screen

    I am building an explorer like GUI using contextmenu. The section of triggering the menu is as follow: CMenu menu; menu.LoadMenu(IDR_MENU_Phi); CMenu *pContextMenu=menu.GetSubMenu(0); ASSERT(pContextMenu); pContextMenu->TrackPopupMenu(TPM_CENTERALIGN...

Part and Inventory Search

Back
Top