The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    ThinkVantage Software (for programmers)

    Discussion in 'Lenovo' started by x61x200, Dec 23, 2009.

  1. x61x200

    x61x200 Notebook Consultant

    Reputations:
    0
    Messages:
    195
    Likes Received:
    0
    Trophy Points:
    30
    I was just wondering, when i press the blue thinkvantage button on my x61 i get a "thinkvantage productivity centre" pop up. Its not like the usual applications with a windows frame. For example if i was programming in java i would have to create a JFrame to pop up anything.

    I was just wondering, as this looks pretty 'smart', how would you replicate this 'frameless' application design?
     
  2. x61x200

    x61x200 Notebook Consultant

    Reputations:
    0
    Messages:
    195
    Likes Received:
    0
    Trophy Points:
    30
    Ah there must be a programmer on here! :)

    Somebody must know what they used to write it?
     
  3. BinkNR

    BinkNR Knock off all that evil

    Reputations:
    308
    Messages:
    1,000
    Likes Received:
    8
    Trophy Points:
    56
    There’s nothing very special about this—just an application that doesn’t use standard Windows design—and I believe it’s written using Microsoft’s .NET Framework.
     
  4. flynn337

    flynn337 Notebook Consultant

    Reputations:
    21
    Messages:
    162
    Likes Received:
    0
    Trophy Points:
    30
    Look into transparent windows or layered windows. You can avoid having the normal non-client frame and make strange shapes out of your windows.
     
  5. x61x200

    x61x200 Notebook Consultant

    Reputations:
    0
    Messages:
    195
    Likes Received:
    0
    Trophy Points:
    30
    Thanks, is this for C#?
     
  6. flynn337

    flynn337 Notebook Consultant

    Reputations:
    21
    Messages:
    162
    Likes Received:
    0
    Trophy Points:
    30
    The concepts I mentioned are independent of what language you use - you should be able to use them for C#.
     
  7. chrixx

    chrixx Product Specialist NBR Reviewer

    Reputations:
    641
    Messages:
    1,859
    Likes Received:
    0
    Trophy Points:
    55
    It's an owner drawn window frame. Depending on what underlying libraries are used, the most primitive method of achieving this is through standard Win32 API for Windows.
     
  8. grisjuan

    grisjuan Notebook Evangelist

    Reputations:
    17
    Messages:
    319
    Likes Received:
    10
    Trophy Points:
    31
    I don't think it is written using C#/.NET, at least I was not able to dis-assemble the .dlls and the .exe using the standard .NET tools.

    If it were a .NET app with a WPF user interface, then it would be pretty easy to do: just set your main WindowStyle to None, AllowTransparency to true, and the Background of your main window to Transparent.
     
  9. chrixx

    chrixx Product Specialist NBR Reviewer

    Reputations:
    641
    Messages:
    1,859
    Likes Received:
    0
    Trophy Points:
    55
    I appears to be native Win32, but then it's pretty sluggish, which shouldn't be the case if it's using native API.