To generate Random float/double numbers in a given limit
Archive for the ‘Visual Studio’ Category
To generate Random float/double numbers in a given limit
Posted: October 9, 2009 in Applications, C, C++, Programming Tips, VC++, Visual Studio, Windows, XPTags: C++, VC++
Make Visual Assist X active on CUDA (*.cu) files in Visual Studio
Posted: September 10, 2009 in CUDA, Visual Assist, Visual StudioTags: CUDA, Visual Assist, Visual Studio
Make Visual Assist X active on CUDA (*.cu) files in Visual Studio
Select a Folder using VC++
Posted: July 17, 2009 in Programming Tips, VC++, Visual Studio, Windows, XPTags: Folder Selection, VC++, Win32, Windows
To select a folder use the following code snippet where you want. BROWSEINFO stBrowseInfo; LPITEMIDLIST lpSelectedPid; TCHAR pszSelectedFolder[MAX_PATH]; stBrowseInfo.hwndOwner = m_hWnd; stBrowseInfo.pidlRoot = NULL; stBrowseInfo.pszDisplayName = pszSelectedFolder; stBrowseInfo.lpszTitle = _T( “Select Your Folder” ); stBrowseInfo.ulFlags = BIF_RETURNONLYFSDIRS ; stBrowseInfo.lpfn = NULL; stBrowseInfo.lParam = 0; lpSelectedPid = SHBrowseForFolder( &stBrowseInfo ); SHGetPathFromIDList( lpSelectedPid, pszSelectedFolder ); m_csFolderName = [...]
XP Look and feel to VC++ Dialog Applications
Posted: February 26, 2009 in VC++, Visual Studio, Windows, XPWelcome to the World of Creativeness. This is my first post. In Visual Studio 2003, 2005 and later Make sure you should add Common Control Manifest (in 4th Step, 6th check box) while creating a new project (VS 2005) if you unchecked this Common Control Manifest then you should manually add //#ifdef _UNICODE #if defined [...]