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 strongm 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. Horrid

    Have transparent window respond to mouse over

    I have a window that has a visible bar on one edge that is intended to pop out the actual UI. I want the UI to be transparent other than the buttons sticking out of the bar. But as soon as the mouse goes over the transparent section it triggers a mouse leave event and the buttons snap back in...
  2. Horrid

    Return results for all days in range

    Thanks. I thought as much. I just used php to pad the missing days.
  3. Horrid

    Return results for all days in range

    I am trying to get the count of all entries per day for 14 days. Days where there are 0 results I want to return as 0. My current SQL that gets the data I need but only for the days with data: select COUNT(ID), DATE_FORMAT( madeTime, '%Y%m%d') from test where topicID=X group by DATE_FORMAT(...
  4. Horrid

    no input file only if include arguments

    Interesting, didn't know that. Thanks for the info. I dumped php and installed again and off it goes, I think I had set something odd in the config.
  5. Horrid

    no input file only if include arguments

    Odd problem with php, if I call index.php it works fine. Try index.php?x=1 and I get No input file specified. I assume its a config error but I just can't find the cause. I have configured php a few times before and never had this happen, maybe something to do with the newest version. Anyone...
  6. Horrid

    List running apps + get path and exe

    Solution: Step through all top level windows with enumwindows, find those that qualify to be displayed on the taskbar. Use CreateToolhelp32Snapshot to step through all processes and find the one matching the top level window. Then use psapi EnumProcessModules and GetModuleFileNameEx to...
  7. Horrid

    List running apps + get path and exe

    I have been trying for the past few days to get a list of the running applications, the window title (window class would be nice) and the applications path and exe file. I have had some success with enumwindows, getting the windows processId (via GetWindowThreadProcessId) then finding the...
  8. Horrid

    Listing installed applications

    I ended up just going for a hack job, its only a prototype and will do for now. I get the filename of the shortcut used in the start menu and trim off the extension. Its not perfect but its good enough for the task at hand.
  9. Horrid

    Listing installed applications

    I need to get a list of installed applications and the location of the exe. This data will be presented to the user is a nice clean list showing the icon and application name (I will shield them from the exe name). I have tried a number of methods...
  10. Horrid

    Simulate OpenWith

    I need to associate an action with an application, much like the shortcut buttons on the newer keyboards. It needs to be super easy so I want to show just a list of installed applications that then can associate with that action. eg I push the web/home button for the first time, my app says...
  11. Horrid

    Simulate OpenWith

    I am trying to simulate an open as dialog(like the one you get when you right click a file in Explorer) but just can't get it. I played about with ::ShellExecute(NULL, NULL, "RUNDLL32.EXE", "shell32.dll,OpenAs_RunDLL " ,NULL, SW_SHOWNORMAL); but I have 2 problems with that. First is it brings...
  12. Horrid

    messagemapping cbutton

    Thinks Ion, I'll take a look into that. Very much trying to cram too much information into my head in a short amount of time.
  13. Horrid

    messagemapping cbutton

    very cool, thanks for the help.
  14. Horrid

    messagemapping cbutton

    I have a class for a token object, when a token object is created it draws information about the token on the screen along with a button. Is it possible to set a message map for this button so it works? Every example I can find assumes I created the cbutton object in my dialog class, I can't...
  15. Horrid

    change position of window opened with createprocess

    Seems I got it, I think I was trying to step through the processes before the process had finished loading. Thanks for the help.
  16. Horrid

    change position of window opened with createprocess

    Hit a brick wall getting this to work (im a C++ newbie). I can launch my app no problems with createprocess but then I have problems getting SetWindowPos to do anything with it. As I didn't have the hWnd I tried to use an EnumThreadWindows to optain the hWnd of the window in a hope that I...
  17. Horrid

    before new mail arrives problem

    The following script detaches the attachments and places them into a folder. I had it working at one point if you opened the message and it currently works on the first email rather than a selected email. I need it to work on an email that triggers the "before new mail arrives&quot...
  18. Horrid

    preg_split expresion

    Thanks for the help. I gave up in the end and just went back to manual string manipulation, had it going in 30 seconds. I'll run through your examples as a learning exercise. Once again, thanks for your help, was a good way to learn.
  19. Horrid

    preg_split expresion

    Good point, I'm sure I can find a solution to that one. I made an error in my first question, the tag structure looks more like this $res = '<td id=&quot;taw0&quot;>blah blah</td><td id=&quot;taw0&quot;>hlah hlah&quot;</td>'; So I changed the expresion to this. $r=preg_split('/<td...
  20. Horrid

    preg_split expresion

    Thank you! Exactly the eplination I needed.

Part and Inventory Search

Back
Top