Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

robertw019

@robertw019
About
Posts
25
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Why the 'moonshot project' that Google just launched could be such a big deal
    R robertw019

    There are plenty of legit apps that run without being formally installed. Doesn't make them a virus.

    FeedMonster 2.0, FeedMonster 2.0 Hourly builds

    The Insider News android com business question

  • Better late than never
    R robertw019

    lol..you had a 50meg internet connection and now a 70meg connection and are complaining because its not 80. Dude I was excited when I got upgraded to 7 from a meg and half. I'd kill for even half of that 50 megs.

    The Lounge csharp performance

  • Clinton on FireFox in State Department "Town Hall" meeting (link and excerpt)
    R robertw019

    With a few notable exceptions "politician == liar". Fixed. Though I can't imagine, what if anything you'd have to pay for (I'm in no means versed in a large deployments of programs) when "upgrading" to Firefox. Don't yell at me, I just think it'd be as simple as just instructing people to download and install it. EDIT: Unless, you'd have to fix all the internal sites and crap to work with it. Then it might be a problem.

    The Lounge question help

  • Windows hook
    R robertw019

    Thats for the mouse and keyboard hooks right? Neither will work in this case.

    Visual Basic

  • Windows hook
    R robertw019

    Thanks for the response. I've looked at the MSDN docs for hooks, and created a C++ version, but I'm getting the same results.

    Visual Basic

  • Windows hook
    R robertw019

    Looking to create a global hook to intercept WM_WINDOWPOSCHANGED messages. So far all attempts to create a hook always end up not functioning properly. I create the hook then filter out messages that aren't what I'm looking for, but it always seems to make all non-system processes that are running crash. My Code:

    Public Class WM_WINDOWPOSCHANGED
    Shared Event WindowMoving(ByVal handle As IntPtr)
    Shared hookhandle As Integer
    Shared hookhandler As HookHandler
    Private Sub New()

        End Sub
        Public Shared Sub CreateTheHook()
            'If hookhandle = 0 Then
            '    hookhandle = User32Imports.SetWindowsHookEx(CInt(HookCodes.WH\_CALLWNDPROC), hookhandler, Marshal.GetHINSTANCE(Assembly.GetExecutingAssembly().GetModules()(0)), CInt(0))
            '    MsgBox(hookhandle)
            'End If
            hookhandler = New HookHandler(AddressOf ChangeButtonHost)
            hookhandle = User32Imports.CreateSystemHook(Marshal.GetHINSTANCE(Assembly.GetExecutingAssembly().GetModules()(0)), hookhandler)
            If hookhandle <> 0 Then MsgBox("hi")
        End Sub
        Shared Function ChangeButtonHost(ByVal nCode As Integer, ByVal wParam As IntPtr, ByVal lParam As IntPtr)
            If nCode >= 0 Then
                Dim cwps As CWPSTRUCT = DirectCast(System.Runtime.InteropServices.Marshal.PtrToStructure(lParam, GetType(CWPSTRUCT)), CWPSTRUCT)
                Dim winfo As New WindowInfo(cwps.hwnd)
                If cwps.message = &H46 And WindowInfo.IsValid(cwps.hwnd) And winfo.ShowInTaskbar = True Then
                    RaiseEvent WindowMoving(cwps.hwnd)
                End If
            End If
            Return 0 'User32Imports.CallNextHookEx(hookhandle, nCode, wParam, lParam)
        End Function
    End Class
    

    Friend Class User32Imports
    <DllImport("user32.dll", CharSet:=CharSet.Auto, CallingConvention:=CallingConvention.StdCall)> _
    Friend Shared Function SetWindowsHookEx(ByVal idHook As Integer, ByVal lpfn As HookHandler, ByVal hInstance As IntPtr, ByVal ThreadId As Integer) As Integer
    End Function
    <DllImport("user32.dll", CharSet:=CharSet.Auto, CallingConvention:=CallingConvention.StdCall)> _
    Friend Shared Function CallNextHookEx(ByVal idHook As Integer, ByVal nCode As Integer, ByVal wParam As IntPtr, ByVal lparam As IntPtr) As Integer
    End Function

    End Class>
    

    EDIT: CreateSystemHook was my attempt at doing the

    Visual Basic

  • Death blow to IE possibly?
    R robertw019

    No serious competitors? Oh so I guess Firefox's 20% is meaningless, :)

    The Lounge com security question announcement

  • Windows 7 to have less intrusive notifications
    R robertw019

    7 has this light house like icon in the tray that when you click on it a small window comes up that has all the notifications in it. The control panel part of it in 6801 is called the Windows Solution Center, but I've heard in later builds the icon and name have changed.

    FeedMonster 2.0, FeedMonster 2.0 Hourly builds

    The Lounge css com security help question

  • Issue with setting the margin on several WPF controls
    R robertw019

    Actually, I figured out not 10 mins after my last post. It seemed to be something with the animation that plays right before any of the actual code is run. I re-did the animation after screwing it up doing something else, and everything seemed to start moving when it supposed to. Thanks for your help though, and I apologize if I wasted your time.

    FeedMonster 2.0, FeedMonster 2.0 Hourly builds

    WPF csharp wpf help question

  • Issue with setting the margin on several WPF controls
    R robertw019

    TasksIcos.Margin.Left = -192 at runtime and in blend.

    FeedMonster 2.0, FeedMonster 2.0 Hourly builds

    WPF csharp wpf help question

  • Issue with setting the margin on several WPF controls
    R robertw019

    Ok, So I'm trying to programatically set the left margin on three controls, a textblock named "Clock", a StackPanel named "TasksIcos", and a button named "Options". This is the code I'm using: TasksIcos.Margin = New Thickness(TasksIcos.Margin.Left + 32, TasksIcos.Margin.Top, TasksIcos.Margin.Right, TasksIcos.Margin.Bottom) Options.Margin = New Thickness(-MiniModePanel.Width + 43, Options.Margin.Top, Options.Margin.Right, Options.Margin.Bottom) Clock.Margin = New Thickness(Clock.Margin.Left + 43, 0, -7, 0) The only one that moves any at all, is "Options". The other two do not move regardless of what the values are entered. Can a WPF guru tell me what I'm doing wrong here?

    WPF csharp wpf help question

  • I hate Vista
    R robertw019

    If you having so many issues why not try installing XP into a virtual machine. I've done this and use it quite often to run apps that don't run well or at all on Vista.

    FeedMonster 2.0, FeedMonster 2.0 Hourly builds

    The Lounge database sql-server sysadmin tools help

  • Why Vista sucks
    R robertw019

    As did i, and agree...its much more responsive and faster than XP was/is.

    FeedMonster 2.0, FeedMonster 2.0 Hourly builds

    The Lounge c++ com design architecture help

  • so... you want to become a programer...
    R robertw019

    and what do you have againest Visual Basic programmers?

    FeedMonster 2.0, FeedMonster 2.0 Hourly builds

    The Lounge question

  • Your Largest Program
    R robertw019

    around 11k lines of VB.NET code over the course of 2yrs My RSS reader, FeedMonster.

    FeedMonster

    The Lounge question design testing sales beta-testing

  • 3D desktop advantages
    R robertw019

    I think that the biggest advantage may be the performance gains you get from getting the desktop drawing off the CPU like it was in XP. Plus the lack of those annoying white boxes that appear when moving a window on top of another window thats frozen.

    H|D News, My RSS feed reader

    The Lounge graphics game-dev linux question

  • Coding for a digital clock
    R robertw019

    Goto the forms designer and double click on the timer control. This should take you to the Code window. Look for "Private Sub Timer1_Tick", put your system.DateTime code in there

    H|D News, My RSS feed reader

    Visual Basic design json help tutorial question

  • Don't you just hate it when...
    R robertw019

    you goto Google, searching for something and find everything but what you're looking for.

    H|D News, My RSS feed reader

    The Lounge question

  • Domain Name and Hosting
    R robertw019

    I'm not sure how many ads they put on it. I think just one, and yes you own the domain they just keep it registered. H|D News, My RSS feed reader

    The Lounge csharp html com hosting collaboration

  • Domain Name and Hosting
    R robertw019

    actually its just for the Collaboration and Essentials package...the basic one is free and ad-supported.

    The Lounge csharp html com hosting collaboration
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups