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 Chriss Miller 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: mingis
  • Content: Threads
  • Order by date
  1. mingis

    Process mouse input without getting focus

    I'm trying to develop a keyboard emulator, controlled by the mouse, but with only partial success. The first mouse click on my keyboard emulator window kills the focus of the keyboard receiving window. After returning the focus (SetForegroundWindow()) some programs lose possition of the cursor...
  2. mingis

    IsUserAnAdmin?

    At first, may be somebody knows some easy way to know, am I privileged user or not? Until now I tryed to write to certain registry key in HKEY_LOCAL_MACHINE, in case of success I decided I am an admin. Now, in Vista, it does not work - Vista allows for everybody to write to system area of...
  3. mingis

    Vista - same file name, different file contents

    It's a repeated question, now to the right forum. http://www.tek-tips.com/viewthread.cfm?qid=1434846&page=1 Recently I was forced to switch to Windows Vista and am experiencing strange behavior of the file system. In some mystical way there are files, which contents are different when opening...
  4. mingis

    Vista - same file name, different file contents

    Recently I was forced to switch to Windows Vista and am experiencing strange behavior of the file system. In some mystical way there are files, which contents are different when opening them from different programs or different user accounts. Even deleted files sometimes could be opened so far...
  5. mingis

    Read-only attribute to administrator

    Hi all. The question is actually regarding NTFS policy of security. Is there possibility to deny write access for administrator? It seems, that administrator allways has right easy to reset read-only attributes. The problem is actually to distribute read-only data in Flash USB keys. On early...
  6. mingis

    Access to devices at physical level

    Hi all. I wonder how could be disk/flash drives accessed dirrectly, not using logical drive letters C:, D:, K:, etc. There should be some interface points for read/write access dirrectly in device drivers. For example, WinHex from X-Ways has such a possibility at menu option Tools/Open Disk...
  7. mingis

    RichEd20.dll

    Where to obtain the newest version of Rich Edit DLL file riched20.dll (riched30.dll?)? Thank you.
  8. mingis

    Invisible window preserving its image data

    The problem is following: I would like to use formatted text fragments in owner-drawed listbox. I do create a RTF window using "RichText" window class name in CreateWindowEx(). Then I put several RTF fragments to that window using WM_SETTEXT message, grab window client area pictures to the...
  9. mingis

    Closing thread

    Should be threads closed explicitly (by sending WM_QUIT message and a ExitThread() as a responce to it, for example)? Are not all child threads closed authomatically by ending of the main parent process? What to do in case, when child thread Sleep()'s or accept()'s sockets? How to wake thread up...
  10. mingis

    .exe file embedding

    The project itself is a Macromedia Flash generated .exe file. The goal is to hide it from hacking (at least minimal - Flash .exe files can easily be recompiled to theyr sources). Now I'm doing something like following: dump a Flash .exe file as hex array, embed it into a another C++...
  11. mingis

    Scrollable subwindow

    What Windows SDK calls should I look for - I want to make a subwindow control with scroll bars. That subwindow shoud contain edit controls, comboboxes etc. and be logically bigger than the control on the parrent window - scrollbars should be used to scroll to hidden parts of that window...
  12. mingis

    Open more than 20 files simultaneously

    In Acrobat Reader 5.0 CE, when I try to open 21-th document, first open document is authomatically closed. How to increase this limitation? We need 31 file to be open at a time.
  13. mingis

    How to change system time?

    If it is possible, it probably claims to be an Administrator under WinNT/W2k, nevertheless - what is the call?
  14. mingis

    Where is My Documents folder - SHGetSpecialFolderPath() for WinNT?

    For Windows NT 4.0 it is on <windir>\Profiles\<user>\Personal\My Documents. Well, I can get <windir> using GetWindowsDirectory(), <user> by means of GetUserName(). But the problem is, that in certain cases user data are stored in some prolonged folder like "peter.000". What API should I use to...
  15. mingis

    SetTimer() for application without window

    I would like to start Windows timer using SetTimer(HWND hWnd, UINT nIDEvent, ...); My application has no window, it simply starts a child thread and waits for messages from that thread. My wish is to have a some timeout timer to proceed the job for the case, when something wrong is happened...
  16. mingis

    RegisterClassEx() under Win98

    I found an example on how to change window background: http://www.abdn.ac.uk/~u02cll2/windowsapi/changebackground.c.htm Unfortunatelly under Windows 98 the call of RegisterClassEx() fails (source file line number 60) and GetLastError() gives error number 120 (&quot;This function is only valid in...
  17. mingis

    How to override CWnd handler function?

    I'am trying to add some additional processing on each key press in dialog based MFC application. The piece of code is: class CTestkeyDlg : public CDialog { <...> afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; void...
  18. mingis

    Wnaspi32.dll for ATAPI CD-ROMs

    Aspi API is originally meant for accessing of SCSI devices. Analyzing some open source CD software like CDEX, I didn't found any special approach regarding ATAPI CD-ROMs, only ASPI calls. Is it true may be, that Wnaspi32 emulates SCSI calls for accessing of ATAPI CD-ROMs too? Or there is any...
  19. mingis

    Check type of CD-R

    Hi, In my C++ program I want to check some properties of disk inserted in my CD-ROM (CD writer) drive - manufacturer name, disk type (CD, CD-R, CD-R/W) etc. What API should I start to search? Perhaps I need to access some additional features of CD-ROM device driver? How can I interact directly...

Part and Inventory Search

Back
Top