<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>Windows programming Forum RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest threads from the 'Windows programming' forum at Programmer's Heaven, excluding replies.</description>
    <language>en</language>
    <copyright>Copyright 2009 Programmers Heaven</copyright>
    <pubDate>Fri, 03 Jul 2009 18:03:58 -0700</pubDate>
    <lastBuildDate>Fri, 03 Jul 2009 18:03:58 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>WinRM + WSAutomation library missing</title>
      <link>http://www.programmersheaven.com/mb/windows/393235/393235/winrm-+-wsautomation-library-missing/</link>
      <description>Dera All,&lt;br /&gt;
&lt;br /&gt;
I need to develop an WinRM related C++ application&lt;br /&gt;
&lt;br /&gt;
I downloaded Windows 7 RC SDK where I found the required WsmanAuto.dll, wsmandisp.h, wsmandisp.idl&lt;br /&gt;
but I could not find required WSMamAutomation kibrary.&lt;br /&gt;
&lt;br /&gt;
Now If I trying to use IID_IWSMAN flag then it is showing lik=nking error like Unresolved external symbol IID_IWSMAN.&lt;br /&gt;
&lt;br /&gt;
This is definetly the case of missing WsManAutomation librray.&lt;br /&gt;
&lt;br /&gt;
Where Can I found this library.&lt;br /&gt;
&lt;br /&gt;
If some one have it please mail me at vishal_askqns@yahoo.in &lt;br /&gt;
&lt;br /&gt;
Regards&lt;br /&gt;
Vishal&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/393235/393235/winrm-+-wsautomation-library-missing/</guid>
      <pubDate>Fri, 03 Jul 2009 04:32:15 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>ODS_HOTLIGHT not working...</title>
      <link>http://www.programmersheaven.com/mb/windows/393181/393181/ods_hotlight-not-working/</link>
      <description>Hi, for some reason I can't make the ODS_HOTLIGHT flag on the DRAWITEMSTRUCT work! When I debugged, I didn't recieve any message when i hover my mouse over the button, it's as if the flag doesn't exist or something. I also read somewhere (CodeGuru i think) that the ODS_HOTLIGHT flag is only used for combo and list boxes... I need help ASAP. Thanks. Btw, here's the code (just a small piece of it):&lt;br /&gt;
&lt;br /&gt;
case WM_DRAWITEM:&lt;br /&gt;
pdis = (LPDRAWITEMSTRUCT) lParam ;&lt;br /&gt;
		  &lt;br /&gt;
switch(pdis-&amp;gt;CtlID)	// checks the control item of child...&lt;br /&gt;
{&lt;br /&gt;
case ID_MINUS:&lt;br /&gt;
if(pdis-&amp;gt;itemState &amp;amp; ODS_HOTLIGHT) // case mouse hover                 {&lt;br /&gt;
   SelectObject (hdcBitmap, hbitmaps.minus.down) ;&lt;br /&gt;
   BitBlt(pdis-&amp;gt;hDC, 0, 0, 30, 30, hdcBitmap, 0, 0, SRCCOPY) ;&lt;br /&gt;
}&lt;br /&gt;
return 0 ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
P.S.: sorry for the lack of organization, this edit box is really annoying to use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/393181/393181/ods_hotlight-not-working/</guid>
      <pubDate>Thu, 02 Jul 2009 05:15:39 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>App Pool Recycle Status</title>
      <link>http://www.programmersheaven.com/mb/windows/393039/393039/app-pool-recycle-status/</link>
      <description>Hi,&lt;br /&gt;
As per attached is a .vbs file that helps check for the App Pool status as per indicated from Case 1 - 4 or otherwise reflected as unknown. However, after the status is checked, id need help to write the script to run 2 .bat files that i have created that would help trigger a mail (Ex. &lt;span style="color: #000000;"&gt;AppPoolSucessmail.bat &lt;/span&gt;&amp;amp; &lt;span style="color: #000000;"&gt;AppPoolFailure.bat &lt;/span&gt;as per the status of the AppPool. Tentatively a comparison of status has to be done before sending the respective mail.&lt;br /&gt;
&lt;br /&gt;
Ex; &lt;br /&gt;
1) If the App pool status is 'Running'.....then trigger AppPoolSucessmail.bat &lt;br /&gt;
&lt;br /&gt;
2) If the App Pool status is 'Stopped, starting or unknown' then trigger&lt;br /&gt;
AppPoolFailure.bat&lt;br /&gt;
&lt;br /&gt;
so that as per the mail sent, if necessary,  I can manually trigger the recycle. &lt;br /&gt;
&lt;br /&gt;
Thanks for ur help and advice.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/393039/393039/app-pool-recycle-status/</guid>
      <pubDate>Tue, 30 Jun 2009 01:09:58 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>GetDiskFreeSpace Windows API is failing on windows 2000</title>
      <link>http://www.programmersheaven.com/mb/windows/392772/392772/getdiskfreespace-windows-api-is-failing-on-windows-2000/</link>
      <description>&lt;br /&gt;
Hi All,&lt;br /&gt;
I need to calculate the cluster size using my program.&lt;br /&gt;
Windows provides API - GetDiskFreeSpace, to serve the purpose.&lt;br /&gt;
But the API fails on windows 2000 host giving the following error-&lt;br /&gt;
--------------------&lt;br /&gt;
ERROR_DIR_NOT_ROOT 144 (0x90) :The directory is not a subdirectory of the root directory.&lt;br /&gt;
--------------------&lt;br /&gt;
The same program runs successfully on windows 2003 and above.&lt;br /&gt;
&lt;br /&gt;
Does anyone knows the solution of this problem? &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/392772/392772/getdiskfreespace-windows-api-is-failing-on-windows-2000/</guid>
      <pubDate>Wed, 24 Jun 2009 06:40:42 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>Applications using Windows Concurrency APIs</title>
      <link>http://www.programmersheaven.com/mb/windows/392765/392765/applications-using-windows-concurrency-apis/</link>
      <description>I am searching for a few applications that extensively use the windows synchronization functions... specifically the critical-section functions, mutex functions and the wait functions. If anyone has any information in this regard, your help would be highly appreciated....&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/392765/392765/applications-using-windows-concurrency-apis/</guid>
      <pubDate>Wed, 24 Jun 2009 04:11:42 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>Applications using Windows Concurrency APIs</title>
      <link>http://www.programmersheaven.com/mb/windows/392764/392764/applications-using-windows-concurrency-apis/</link>
      <description>I am searching for a few applications that extensively use the windows synchronization functions... specifically the critical-section functions, mutex functions and the wait functions. If anyone has any information in this regard, your help would be highly appreciated....&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/392764/392764/applications-using-windows-concurrency-apis/</guid>
      <pubDate>Wed, 24 Jun 2009 04:10:41 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>wdk for new vision of truecrypt</title>
      <link>http://www.programmersheaven.com/mb/windows/392730/392730/wdk-for-new-vision-of-truecrypt/</link>
      <description>Hi my name is Khumbelo I have tried to look and download new version of wdk for truecrypt 6.2. This software is need for Truecrpt addition&lt;br /&gt;
 can any one help me with the idea of how can I get it.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/392730/392730/wdk-for-new-vision-of-truecrypt/</guid>
      <pubDate>Tue, 23 Jun 2009 06:33:55 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>Any sample code availble?</title>
      <link>http://www.programmersheaven.com/mb/windows/392521/392521/any-sample-code-availble/</link>
      <description>Hii&lt;br /&gt;
&lt;br /&gt;
I wanna list all the files and folders of a particular drive.&lt;br /&gt;
Any sample codes available...for MS Windows&lt;br /&gt;
&lt;br /&gt;
Give me a link to them...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanking you&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/392521/392521/any-sample-code-availble/</guid>
      <pubDate>Thu, 18 Jun 2009 23:01:41 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>Looking for a general book on the Microsoft architecture.</title>
      <link>http://www.programmersheaven.com/mb/windows/392448/392448/looking-for-a-general-book-on-the-microsoft-architecture/</link>
      <description>Hello, I have a strange question.  I'm looking for a very general book on the whole Microsoft (and maybe non-Microsoft ) programming environment.I would like to have a big picture of all the technologies available today.The book could cover topics like the following:&lt;br /&gt;
&lt;br /&gt;
 -What is COM, OLE, ActiveX, and differences between them&lt;br /&gt;
 -What is VBScript, VBA and Visual Basic and differences between them.&lt;br /&gt;
 -Evolution of Visual Basic, evolution of Visual C,etc...&lt;br /&gt;
 -The .NET framework, what it its, what are it's features,etc...&lt;br /&gt;
 -What is ASP&lt;br /&gt;
 -What is SQL&lt;br /&gt;
 -The windows API, what it is, it's features,etc..&lt;br /&gt;
&lt;br /&gt;
I'm not interested in detailed information on anything, like "how to use the if..then statement" but just a general description of each technology, it's features, etc...I know I could look all those doubts individually using Wikipedia, but it would be great to have a structured mental map in my head of the I&amp;amp;T technologies and products available today, so if for example I'd say: "I want to program an extremely portable application" , well then I&lt;br /&gt;
would know that maybe Java was the answer. &lt;br /&gt;
&lt;br /&gt;
I always have the feeling there's a lot of specific documentation for individual programming languages, but I've never found a big general description of the available languages and tools that would give me "the big picture". For example, I've never programmed a webpage in my life (only stand-alone applications) but if I wanted to start tomorrow, it would be nice to have a general idea of what is XML,HTML,etc... and which would be more suitable depending on a set of requirements, so I could then go to a shop and buy "The XML Bible" or "Teach yourself PHP in 24 hours" and so on. Sadly, I imagine this book only exists in my head. Thanks to all for any help you can give me.&lt;br /&gt;
&lt;br /&gt;
PS: English is not my native language, so please excuse any mistakes in my writing. &lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/392448/392448/looking-for-a-general-book-on-the-microsoft-architecture/</guid>
      <pubDate>Wed, 17 Jun 2009 11:02:07 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>Got IT at BING</title>
      <link>http://www.programmersheaven.com/mb/windows/392436/392436/got-it-at-bing/</link>
      <description>Try our Latest IT Study Materials at No Cost. Has videos and audios, no problems or pesky hassles. &lt;a href="http://www.careersaver.com/EPromoNew.asp?id=6&amp;exs=148"&gt;If you care&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/392436/392436/got-it-at-bing/</guid>
      <pubDate>Wed, 17 Jun 2009 07:27:55 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>Applications using Windows Concurrency APIs</title>
      <link>http://www.programmersheaven.com/mb/windows/392337/392337/applications-using-windows-concurrency-apis/</link>
      <description>I am searching for a few applications that extensively use the windows synchronization functions... specifically the critical-section functions, mutex functions and the wait functions. If anyone has any information in this regard, your help would be highly appreciated....&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/392337/392337/applications-using-windows-concurrency-apis/</guid>
      <pubDate>Mon, 15 Jun 2009 00:10:52 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>My PC is running like new.</title>
      <link>http://www.programmersheaven.com/mb/windows/392185/392185/my-pc-is-running-like-new/</link>
      <description>&lt;span style="color: Red;"&gt;&lt;strong&gt;I was having trouble with my new computer running slow after I had only had it for a few months. I was upset thinking it was something wrong with my computer until I realized that I needed a good scan to clean out those bugs and viruses that was the real problem. When I started using Orbasoft Antispyware it took care of this problem and now my PC is running like new again. The antispyware solution from Orbasoft, which you can find at http://www.orbasoft.com, has made a big difference for me and I’m sure you’ll be happy with it too.&lt;/strong&gt;&lt;br /&gt;
&lt;/span&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/392185/392185/my-pc-is-running-like-new/</guid>
      <pubDate>Thu, 11 Jun 2009 05:28:59 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>Beginner: what lang to use?</title>
      <link>http://www.programmersheaven.com/mb/windows/392061/392061/beginner-what-lang-to-use/</link>
      <description>Hi Im a total beginner to win programing. Previously I have been using C++ (both on win and linux). But I need to upgrade as the text-only interface is getting frustrating. I'm an engg student and I wont be creating any complicated progs for a while.&lt;br /&gt;
&lt;br /&gt;
So I was wondering which language would be the better choice for me. I tried to find out how to prog win32 in C++ but it got me confused. Then I downloaded MS visual studio pro trial and tried C#. The Visual editor was pretty handy but then its a whole new language for me. &lt;br /&gt;
&lt;br /&gt;
For now I'll give an ex. Attached is a basic calculator I made for a game. After some input, it tell you the defence and offence. I need to make it into a visual calc so that the user dosent have to type so many things. Also I want to add some more features like pasting mission info (basically containing most of the required input).&lt;br /&gt;
&lt;br /&gt;
Any help in this regard and any guides/books for me to refer to would be greatly appreciated :)&lt;br /&gt;
&lt;br /&gt;
ps. I dont have the .cpp file right now as im in the library but i attached a print screen of the prog (Since I cant attach .exe files).&lt;br&gt;&lt;br&gt;&lt;strong&gt;Attachment:&lt;/strong&gt; &lt;a href="http://www.programmersheaven.com/mb/DownloadAttachment.aspx?AttachmentID=687"&gt;untitled.JPG&lt;/a&gt; (67773 bytes | downloaded 12 times)</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/392061/392061/beginner-what-lang-to-use/</guid>
      <pubDate>Mon, 08 Jun 2009 18:32:20 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>Convert swf to avi ?</title>
      <link>http://www.programmersheaven.com/mb/windows/391863/391863/convert-swf-to-avi-/</link>
      <description>How to convert swf to avi with original audio effect ? i've tried several programs, but none of them make me feel satisfied. pls give me some advice. &lt;br /&gt;
thanks in advance.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/391863/391863/convert-swf-to-avi-/</guid>
      <pubDate>Wed, 03 Jun 2009 00:01:23 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>Windows Screensaver Password</title>
      <link>http://www.programmersheaven.com/mb/windows/391690/391690/windows-screensaver-password/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
I have a requirement to develop an application which will programatically return from the "On Resume, password protect" option in a Windows screensaver.&lt;br /&gt;
&lt;br /&gt;
The basic idea is that a laptop will have this option turned on but rather than enter a password to resume from the screensaver the user will scan an RFID tag over a reader to resume working.&lt;br /&gt;
&lt;br /&gt;
The RF reader software is in place but I am unsure of how I can programatically get windows to resume from the password protect option in a screensaver.&lt;br /&gt;
&lt;br /&gt;
Any clues as to how I could achieve this would be greatly appreciated.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/391690/391690/windows-screensaver-password/</guid>
      <pubDate>Fri, 29 May 2009 07:07:22 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>Problems creating autonumbering in word</title>
      <link>http://www.programmersheaven.com/mb/windows/391558/391558/problems-creating-autonumbering-in-word/</link>
      <description>We try to automate numbering in word (docx) by adding numbering to all headers and then making the numbers continuos. We found that this was broken by not numbered paragraphs. we decided then to automatically add numbering also tothe paragraphs but found some cases in which it fails because of some “\r\a" characters. any Idea what it is and how to solve it?&lt;br /&gt;
&lt;br /&gt;
thanks&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/391558/391558/problems-creating-autonumbering-in-word/</guid>
      <pubDate>Tue, 26 May 2009 09:55:53 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>Cross-referencing my post for help</title>
      <link>http://www.programmersheaven.com/mb/windows/390687/390687/cross-referencing-my-post-for-help/</link>
      <description>I am not getting any replies, so I figured I'd cross-reference to widen the audience. Thanks for any help! :D&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.programmersheaven.com/mb/Win32API/389985/389985/how-can-i-change-the-desktop-wallpaper-programmatically/?S=B20000#389985"&gt;http://www.programmersheaven.com/mb/Win32API/389985/389985/how-can-i-change-the-desktop-wallpaper-programmatically/?S=B20000#389985&lt;/a&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/390687/390687/cross-referencing-my-post-for-help/</guid>
      <pubDate>Fri, 08 May 2009 23:36:22 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>help me to show horizontal scrollbar on listbox</title>
      <link>http://www.programmersheaven.com/mb/windows/390686/390686/help-me-to-show-horizontal-scrollbar-on-listbox/</link>
      <description>I have a code&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt; hwndList = CreateWindow (TEXT ("listbox"), NULL, 
                            &lt;span style="color: Red;"&gt;  WS_CHILD| WS_VISIBLE | WS_BORDER| LBS_NOTIFY| WS_VSCROLL| WS_HSCROLL&lt;/span&gt; ,
                              cxChar, cyChar * 3,
                              cxChar * 70+ GetSystemMetrics (SM_CXVSCROLL),
                              cyChar * 35+ GetSystemMetrics (SM_CXHSCROLL),
                              hwnd, (HMENU) ID_LIST,
                              (HINSTANCE) GetWindowLong (hwnd, GWL_HINSTANCE),
                              NULL) ;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
The Red is the style of listbox , when i run program i can see the vertical scrollbar but i can't see horizontal scrollbar . i don't understand... thanks for help me! &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/390686/390686/help-me-to-show-horizontal-scrollbar-on-listbox/</guid>
      <pubDate>Fri, 08 May 2009 23:10:26 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>Recommended reading for getting overview of various Windows OS</title>
      <link>http://www.programmersheaven.com/mb/windows/390572/390572/recommended-reading-for-getting-overview-of-various-windows-os/</link>
      <description>Hi&lt;br /&gt;
&lt;br /&gt;
I'm a developer/architect with many years experience of other OSs but know nothing at all about MS OSs.&lt;br /&gt;
&lt;br /&gt;
I have a requirement to develop a client program (a networking component, sitting at the TCP/UDP layer, no requirement for a UI, or maybe a rudimentary testing UI) for XP, Vista, Win7 and WinMo.&lt;br /&gt;
&lt;br /&gt;
I'd like to get an overview of these 4 OSs first from a high level, what do they have in common, where do they differ etc. Initially to get some background for orientation for myself, but with the aim of ultimately finding out what my options are for developing the client - i.e. what APIs, language should be used, can its core be written in a portable way or will 4 totally separate clients need to be developed etc.&lt;br /&gt;
&lt;br /&gt;
Ideally what I'd like is a book that can give me a high level overview or comparison etc. of these (though maybe there is nothing for Win7 yet?) but I can't find anything suitable. Maybe there isn't a single book available that can give me this and instead I'll need 4 separate ones and have to find the similarities/differences myself but I don't want a book that delves into deep development details full of code.&lt;br /&gt;
&lt;br /&gt;
Can anybody recommend ideally a single book, or failing that one for each OS that I can quickly read?&lt;br /&gt;
&lt;br /&gt;
TIA&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/390572/390572/recommended-reading-for-getting-overview-of-various-windows-os/</guid>
      <pubDate>Thu, 07 May 2009 11:16:59 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>scrollable window with child-windows</title>
      <link>http://www.programmersheaven.com/mb/windows/390109/390109/scrollable-window-with-child-windows/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
first, what I need is a window + scrollbar as a parent "container" for child-windows. So that I can place outside the visible window-rect and scroll to make them visible. Or, to make a better picture, something like a listbox but instead of text-item I want to have windows as items.&lt;br /&gt;
&lt;br /&gt;
I tried the static-, button-controls as parent window with the WS_VSCROLL-style and I tried a child-scrollbar-window as well.&lt;br /&gt;
But whatever I try, I never get any WS_VSCROLL-message -- only NCITEST and WM_LBUTTON usw. messages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ok. here Is one variation with seperate scrollbar:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
hwndPropertyParent = CreateWindowEx( 0, "button", "group", WS_CHILD | WS_VISIBLE, rAkt.left, rAkt.top, rAkt.right, rAkt.bottom, hwndControl, (HMENU)ID_PROPERTYPARENT, 0, 0);

hwndPropertyParentScroll = CreateWindowEx( 0, "SCROLLBAR", "", WS_VISIBLE | WS_CHILD | SBS_RIGHTALIGN | SBS_VERT, rAkt.right-20, 0, 20, rAkt.bottom, hwndPropertyParent, (HMENU)ID_PROPERTYPARENTSCROLLBAR, 0, 0);
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
and another one with automatic scrollbar:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
hwndPropertyParent = CreateWindowEx( 0, "button", "group", WS_CHILD | WS_VISIBLE WS_VSCROLL, rAkt.left, rAkt.top, rAkt.right, rAkt.bottom, hwndControl, (HMENU)ID_PROPERTYPARENT, 0, 0);
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Does anyone see anything what can help me?&lt;br /&gt;
Thank in advance. Rob&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/390109/390109/scrollable-window-with-child-windows/</guid>
      <pubDate>Wed, 29 Apr 2009 11:17:35 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>windows service</title>
      <link>http://www.programmersheaven.com/mb/windows/389424/389424/windows-service/</link>
      <description>Hi,&lt;br /&gt;
how can remove or unstall a windows service in xp&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/389424/389424/windows-service/</guid>
      <pubDate>Sat, 18 Apr 2009 11:40:16 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>LogonUser() API blocks with wrong credentials</title>
      <link>http://www.programmersheaven.com/mb/windows/389331/389331/logonuser-api-blocks-with-wrong-credentials/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
We are impersonating a user in an application that runs as a service. The service under which the application is running is started with Logon as Local System Account.&lt;br /&gt;
&lt;br /&gt;
User have all the required previledge required like log on as service. &lt;br /&gt;
After providing correct credentials we are able to do successful impersonation &lt;br /&gt;
&lt;br /&gt;
if the password passed to LogonUser() API is wrong it blocked/hanging.&lt;br /&gt;
we are using OS: Windows XP&lt;br /&gt;
&lt;br /&gt;
For impersonation we are calling LogonUser() API &lt;br /&gt;
&lt;br /&gt;
LogonUser(mailbox,domain,m_szPassword,&lt;br /&gt;
				LOGON32_LOGON_SERVICE,  &lt;br /&gt;
				LOGON32_PROVIDER_DEFAULT,  &lt;br /&gt;
				&amp;amp;hToken))&lt;br /&gt;
&lt;br /&gt;
steps followed for impersonation are as follows-&lt;br /&gt;
1. LookupPrivilegeValue for SE_TCB_NAME&lt;br /&gt;
2. OpenProcessToken&lt;br /&gt;
3. AdjustTokenPrivileges&lt;br /&gt;
4. LogonUser&lt;br /&gt;
5. LoadUserProfile&lt;br /&gt;
6. ImpersonateLoggedOnUser&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
any suggestion would be great help for us.&lt;br /&gt;
&lt;br /&gt;
Thanks in advance&lt;br /&gt;
Narendra&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/389331/389331/logonuser-api-blocks-with-wrong-credentials/</guid>
      <pubDate>Thu, 16 Apr 2009 10:08:09 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>Child Modeless Dialog Box Topmost</title>
      <link>http://www.programmersheaven.com/mb/windows/388954/388954/child-modeless-dialog-box-topmost/</link>
      <description>Hi, I want to create a modeless dialog box that stay above other windows. All windows are child, including the dialog box, but I can't get that.&lt;br /&gt;
I've seen at this &lt;a href="http://www.programmersheaven.com/mb/windows/133659/133659/creating-a-child-dialog-window/?S=B20000"&gt;link&lt;/a&gt; for a solution, but there say it's impossible get it if I don't use MDI child windows or MFC (I've used the solution of the second post but didn't work). I don't want to use that so I ask if anyone know how to get it with pure winapi.&lt;br /&gt;
&lt;br /&gt;
Thanks a lot.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/388954/388954/child-modeless-dialog-box-topmost/</guid>
      <pubDate>Fri, 10 Apr 2009 16:51:49 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>Urgent: please help me</title>
      <link>http://www.programmersheaven.com/mb/windows/388102/388102/urgent-please-help-me/</link>
      <description>Hi everyone,&lt;br /&gt;
&lt;br /&gt;
I want my application to process only keyboard input but not any other device's input, like barcode. I have a window with an edit box there. Focus is on edit box which is a child window of the main window. I want that my edit box should not take barcode scanner's input. But if i press any key on keyboard , it should take it. I have heard about Windows Hooks. but i m unable to distinguish between the messages coming from keyboard and barcode reader. As my application will get WM_CHAR msg in both cases. Can hooks help me...? if yes then how..? Please help me as soon as possible.. it's very important.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
Rakesh Pahwa&lt;br /&gt;
Software Developer,&lt;br /&gt;
india.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/388102/388102/urgent-please-help-me/</guid>
      <pubDate>Thu, 26 Mar 2009 22:42:42 -0700</pubDate>
      <category>Windows programming</category>
    </item>
    <item>
      <title>Determining the verion of OS, in Java or using the registry</title>
      <link>http://www.programmersheaven.com/mb/windows/388047/388047/determining-the-verion-of-os-in-java-or-using-the-registry/</link>
      <description>I am trying to determine the version of Windows my software s running on. &lt;br /&gt;
Is there an official way to do this? I am aware of the ProductName reg key but am not sure how reliable this key might be.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/windows/388047/388047/determining-the-verion-of-os-in-java-or-using-the-registry/</guid>
      <pubDate>Thu, 26 Mar 2009 05:06:11 -0700</pubDate>
      <category>Windows programming</category>
    </item>
  </channel>
</rss>