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 SkipVought 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: *

  • Users: pankajkumar
  • Order by date
  1. pankajkumar

    Cancel notify menu?

    Please explain in a bit more detail!!! Probable cause may be(I think so..) 1.Might have stuck somehwre in some loop. 2.Resources are not getting free..
  2. pankajkumar

    get tooltip info in MFC

    Hi, I did it on Win32-SDK based programs...Steps are 1.Create tooltip window in WM_INITDIALOG as- hWndToolTip = CreateWindowEx(0, TOOLTIPS_CLASS,NULL, WS_POPUP |TTS_NOPREFIX|TTS_ALWAYSTIP, CW_USEDEFAULT, CW_USEDEFAULT, 10, 10, hDlg, NULL, hIsntance, NULL); Then fill the names of controls in...
  3. pankajkumar

    Putting a bitmap on the button, here is the code for the button...

    I don't have much experience with MFC but sure I can tell you SDK way 1.I loaded bitmap as IDB_YELLOW resource, from a file which has 16 by 16 bitmap. 2.Load Bitmap 16 by 16 using something like this HBITMAP hBitmap; hBitmap = LoadBitmap(hInst,MAKEINTRESOURCE(IDB_YELLOW)) 3.Load bitmap on...
  4. pankajkumar

    How to send messages to the dialog in the other thread?

    Yeah SendMessage will ensure that message is delivered and will not return unless it does its task but nothing such with PostMessage
  5. pankajkumar

    Printing in WinAPI

    After getting your printer name route is straight forward StartDoc StartPage ... TextOut(PrinterDC,x,y,Text,strlen(Text)... ..... EndPage EndDoc .... Hope it helps
  6. pankajkumar

    Printing in WinAPI

    I dealt with printing job fully in my last project....with SDK way.. where it is giving you problem...
  7. pankajkumar

    open a document where path is variable in C++

    Try with FindFirstFile like APIs
  8. pankajkumar

    GetDiskFreeSpaceEx

    Use the examples given in msdn they run pretty fine. except directory name all are out parameters.... Cheers
  9. pankajkumar

    How do I get users input from edit1box and search

    I think apatterno is right... anyway you can use APIs like GetDlgItemText(xx..) and SetDlgItemText(xx...) to read from edit 1 and display that text in edit2... but where exatly are you seraching the text of Edit1 ..in the file or where
  10. pankajkumar

    URGENT! Object Pointer Problem

    Hi thebarslider That error might be coming due to line "delete pointer_to_A;"..stop this line and it will work for you hope it helps
  11. pankajkumar

    Finding the Name of a Remote Computer from the User Name

    A user may be looged in on more than one machine at a time
  12. pankajkumar

    Pointer problems with (char*)

    Hi I think this yours sample is not much clear as even the usage of structure too..But I gave a try with your pointer problem ..Ok i picked up whatever you posted..Akarui is right upto some extent ..pointers are not much helpful if memory location to be used is not much clear..at least i prefer...
  13. pankajkumar

    All Process ID

    This Sample "Enumerating All Processes" given in MSDN will work fine..please check Group Policy snap in then login as admin
  14. pankajkumar

    Transfer array between 2 apps

    You can refer examples given in msdn for Memory Mapping of files too..this example is given in MFC as well as for SDK where interprocess communication is concerned
  15. pankajkumar

    Compiling...

    ok do one thing go in Project->Settings options there modify what complier says about 1.pif.obj : error LNK2001: unresolved external symbol _LogOptions 2.Release_External/Project64.exe : fatal error LNK1120: 1 unresolved externals 1 means settings are looking for switches in Project Options...
  16. pankajkumar

    Creating a Document

    Hi GMX, Ok it has by default support to print etc...But no document would actually print unless you have direct support of CView benath for document..for that you will have to use OnDraw if your are using any other view...
  17. pankajkumar

    Visual c++ and Excel

    A nice question..i made plenty of R&D on it a year back..I did it on COM strategy..you need MS Office 's Olb file for that to create pointers who nay create as well as fill this excel file..if u need more information just ask.
  18. pankajkumar

    while Loop problem

    Yeah i think mingis is right ..I encountered and solved the same sort of problem some times back. I think only these 2 lines are enough , no need of 'm_pCapturedResults.MoveNext()' These 2 are enough m_pCapturedResults.Update(); m_pCapturedResults.Requery(); and i don't think any...
  19. pankajkumar

    Newbie Question

    Yeah ShellExecute,WinExec,System APIs ..you can chcek their format...CreateProcess will start a new process which might be useful on opening that file... Hope this helps
  20. pankajkumar

    VARIANT

    1.ok this line "var[2].intVal=myicls.myInt;" used because on variant was getting able to hold only one value due to vt member at a time 2.I took character pointer as well as BSTR because in class this is a char pointer data and in varaint this thing is getting wrapped in a variant...

Part and Inventory Search

Back
Top