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

  • Users: gorgor
  • Content: Threads
  • Order by date
  1. gorgor

    Intercept messages of any window running?

    I want to be able to intercept and show messages for any window running in any process. I already know how to filter through all running processes and find mainwindow handles for that process and thread ID's and such. Now what I want to do is create some kind of hook to intercept messages for...
  2. gorgor

    add control programmatically

    I'm using ASP.NET (C#) in Visual Studio. I'm trying to make it as much like windows programming as possible, so I'm trying to add my custom control (ImagePreview Ctrl) to my aspx page programmatically. I created a custom control and it's compiled as an assembly. When I drop the control onto...
  3. gorgor

    compound custom controls, C#

    I'm trying to make a ASP.NET custom control in C# (NOT a user control) that contains multiple controls. I'm having a hard time seeing how to create the control so that when dropped into a web application (in Visual Studio), all the sub-controls will be displayed. It seems there are some methods...
  4. gorgor

    viewstate

    What's the correct/best way to to persist data across postbacks using ViewState? I have the following web control implemented in C#: The page has 2 rollover buttons that are used to step through all the images in a image folder. The viewstate seems to be somewhat working, but when I debug the...
  5. gorgor

    server-side rollover (revised)

    I posted another question about creating a server-side rollover. I was thinking of a way to do it with javascript and a custom control. How would I go about overriding Render, adding the actual onmousover javascript code to the htmlwriter to do the following: The trick here would be to do a...
  6. gorgor

    server-side rollover

    I am new to ASP.NET but have been using .NET for windows forms for a while now. I found some examples for doing a rollover "button" with client-side scripting. However, I'd like to be able to do it with server-side "scripting" instead. This is more of a learning exercise than anything since...
  7. gorgor

    basic custom control

    This is very basic. I've been using .NET Windows Forms for awhile and now am trying out ASP.NET. My background is in HTML, JScript, and Perl. I'm trying to create my own custom control (not a user control since a user control is a whole form). I am using ASP.net with Visual Studio.NET and...
  8. gorgor

    aspx extension in iis 5.0

    This may be the wrong forum, but perhaps someone can help me out. I'm running win2k with IIS 5.0. I have .NET framework 1.1 installed with ASP.NET. I copied over a sample file from the ebook by Prosise called calc.aspx to my wwwroot directory and tried to run it from...
  9. gorgor

    aspx extension in iis 5.0

    This may be the wrong forum, but perhaps someone can help me out. I'm running win2k wil IIS 5.0. I have .NET framework 1.1 installed with ASP.NET. I copied over a sample file from the ebook by Prosise called calc.aspx to my wwwroot directory and tried to run it from...
  10. gorgor

    application directory??

    (C# and .NET framework) How do you get the application's directory? I'm trying to get the actual location of the executable. I need to write some temp files in the same directory where the application resides, but I want the location of the application's executable to be dynamic. Thanks in...
  11. gorgor

    .NET regex

    I always think I understand regex's until I go to use them. I'm using C# and .NET Framework. Let's say I have the following string: "C:\\MsDev\\Sharp\\bin\\Debug\\Control.dll`~`3`~`0`~`" notice that `~` is my delimiter I want to extract the filename from the string using regex...
  12. gorgor

    filtering unwanted messages

    I have a windows form that instantiates another top level form. The top level form then 'shows' itself. The second form floats around the screen following the cursor. (Basically I've created my own tool tip control.) The tooltip has to be a top-level window so that it doesn't get hidden...
  13. gorgor

    windows form drop shadow??

    I have a windows form that I'm trying to give a drop shadow using .NET. I've tried a million things with regions, opacity, transparencykey's, brushes, pens, bitmaps, etc. I haven't been able to get anything to work. Anyone have any insight how to give a windows form a drop shadow? (Much like...
  14. gorgor

    what happened to COM in .NET Framework?

    I realize this is a topic that would requires several thousand page books, so are there a few keywords I should search for when looking for a book on amazon? I've been using COM for a few months and I am transitioning to the .NET Framework. It appears that COM is dead in the new framework...
  15. gorgor

    trouble with InitModalIndirect(...)

    I'm trying to use InitModalIndirect(LPCDLGTEMPLATE lpDialogTemplate, CWnd* pParentWnd = NULL) to create a dialog at runtime with no Resource. I'm having trouble getting it to work. I'm getting a runtime OLE crash when I call DoModal() on the object. I read that activeX controls treat...
  16. gorgor

    Hide scrollbars in CSplitterWnd

    I'm trying to disable scrollbars in my CSplitterWnd object. It doesn't seem to be working even though it should be straight forward. I've tried everything I can find but the scrollbars just won't go away. Has anyone had luck hiding scrollbars in a CSplitterWnd? I really don't want to derive...
  17. gorgor

    EnableMenuItem(...) not working?!

    I have a pointer to a CMenu object that I created and the menu is being displayed as a context menu. I want to disable (gray) one of the menu items and I can't get it to "gray out". I know my pointer is valid because I can get use CheckMenuItem(...) perfectly fine. Has anyone come...
  18. gorgor

    PlaySound(...). Can't import winmm.lib?!

    I'm trying to play a simple wav file using SDK's PlaySound(...) function. Maybe I'm missing something simple here, but I can't import the winmm.lib file for some reason. Here's what I put at the beginning of the cpp file that I want to use PlaySound() in&quot; #include <mmsystem.h> #import...
  19. gorgor

    scrollbars in CSplitterWnd

    I created a static splitter window with 2 columns. I set the initial size of both. What I'm trying to do, at runtime, is let the splitter window know that the column 1 pane requires horizontal scrollbars if its client area is smaller than, say, 500 pixels. If its client area is greater than...
  20. gorgor

    can't detect ESC key, MFC

    I can't seem to be able to detect the escape key. I have an MFC app. I over-rode just about every key press message handler in my class object that has the input focus and none of the handlers can detect the ESC key. I can detect most other keys with the handlers I've tried. Any ideas?

Part and Inventory Search

Back
Top