WinPos VC++6 IDE Addin

This addin was contributed by Walter Eicher.

Environment: Visual C++ 6

Developer Studio in Edit Mode

I like it when the edit screen looks like that. On the left side, I always place the *.h file, and on the right side I place the *.cpp file. Without WinPos, it's very clumsy because the VC IDE does not remember the windows' positions and sizes.

Developer Studio in Debug Mode

For my taste, the IDE has to look like this while debugging. Even when I stepped through hundreds of source files, it remains clean and usable. Without WinPos, the IDE looks like garbage after stepping trough only a few windows.

What WinPos Does

WinPos saves and restores the position and and size of source windows. A winpos.ini file is created within the project folder.

Only one source window is opened during debugging. Each source is displayed within the same window. The Close All function closes only the source windows.

Installing WinPos

Put the winpos.dll into ..\Microsoft Visual Studio\Common\MSDev98\AddIns. Within the VC IDE, use [Tools]->[Customize]->[Add-ins and Macro Files]; mark WinPos.


Download Addin - 19.3 Kb
Download VB 6.0 project - 11 Kb


  • VS2005?

    Posted by mikem8 on 01/28/2007 12:30pm

    Anyone get this working in VS2005?

    • Here it is: CodeWinPos for VS2005

      Posted by mikem8 on 07/30/2007 12:43pm

  • Very Good

    Posted by Legacy on 06/27/2002 12:00am

    Originally posted by: Mel Stober

    It works like a charm! Good work.

  • Add In behaviour in multiple windows

    Posted by Legacy on 06/26/2002 12:00am

    Originally posted by: Hamid Yaseen

    Hello Eicher
    You work is good But still it can improve further.
    I tried it with multiple windows as you have given example but it does not work.
    I open two files ABC.h and ABC.cpp.
    when I close the h file. It correctly update pos and size correctly in to INI file but when I opened second time it opened at a different position and updates the INI file values. Can you give comments.

    Hamid Yaseen

  • Your time can be better spent!

    Posted by Legacy on 06/25/2002 12:00am

    Originally posted by: Dude

    Dude, invest your money in a second monitor. Multiple monitors are the best thing since apple pie when it comes to debugging. You can have all of your debug windows in one monitor and you code in another monitor. I actually use three monitors for work.

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Thanks to the Internet of Things (IoT), physical assets are turning into participants in real-time global digital markets. The countless types of assets around us will become as easily indexed, searched and traded as any online commodity. While some industries will be tougher to transform than others – those with physical limitations, such as manufacturing, will be harder to digitize – untold economic opportunities exist for growth and advancement. Our research shows this will create a new "Economy …

  • As the mobile enterprise marketplace expands and customer needs grow more diverse, Samsung recognizes that solution partners and developers play an essential role by continually innovating to meet their customers' needs. Samsung works to provide these developers and partners with the latest tools and resources needed to create these solutions. Read this program guide to learn how the Samsung Enterprise Alliance Program provides partners and developers with Samsung enterprise software development kits (SDKs) …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date