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
M

mjvalan

@mjvalan
About
Posts
9
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Access managed C++ public enum class from C# by Dynamically loading
    M mjvalan

    I have an managed C++ dll lib. It has claas info like below namespace tests { public enum class clours { Start = 0; Red = 1; Green = 2; Blue = 3; End = 4; } } I have written a client application in C# and load the dll dynamically(I am using reflection). I want to access the enum members and values between 'Start' and 'End' from the client application.

    C# csharp c++

  • Extract text from Ms -office documents
    M mjvalan

    Thanks Igor Green.

    C / C++ / MFC

  • Extract text from Ms -office documents
    M mjvalan

    Hi, I want to extract text content of MS-OFFICE documents(PPT,XLS....), programmatically. THanks MJValan

    C / C++ / MFC

  • Determine text file or Binary file
    M mjvalan

    I want to determine, a file is text file or binary file(file name dosen't have file extension).Is there any API in Windows SDK? Thanks MJVALAN

    C / C++ / MFC json question

  • Combine two icons
    M mjvalan

    Hai, I am ving two icon handles, and want to combine them. So that one will be the overlay over the another. I tried with the following code, but it is not displaying properly. Any other solutions? HICON CAutoDocuFileDlg::CombineIcons(HICON topIcon,HICON bottomIcon) {// begin CombineIcons ICONINFO newIcon; newIcon.fIcon = true; HDC screenDC = ::GetDC(NULL); HDC iconDC = CreateCompatibleDC(screenDC); HDC maskDC = CreateCompatibleDC(screenDC); newIcon.hbmColor = CreateCompatibleBitmap(screenDC,16,16); newIcon.hbmMask = CreateCompatibleBitmap(maskDC,16,16); HGDIOBJ oldIconDC = ::SelectObject(iconDC,newIcon.hbmColor); HGDIOBJ oldMaskDC = ::SelectObject(maskDC,newIcon.hbmMask); BitBlt(iconDC,0,0,16,16,NULL,0,0,BLACKNESS); BitBlt(maskDC,0,0,16,16,NULL,0,0,WHITENESS); DrawIconEx(iconDC,0,0,topIcon,16,16,NULL,NULL,DI_ IMAGE); BitBlt(iconDC,0,0,16,16,NULL,0,0,DSTINVERT); // DrawIconEx(maskDC,0,0,topIcon,16,16,NULL,NULL,DI_ MASK); DrawIconEx(iconDC,0,0,bottomIcon,16,16,NULL,NULL, DI_NORMAL); BitBlt(iconDC,0,0,16,16,NULL,0,0,DSTINVERT); DrawIconEx(maskDC,0,0,bottomIcon,16,16,NULL,NULL, DI_MASK); BitBlt(maskDC,0,0,16,16,NULL,0,0,DSTINVERT); ::SelectObject(iconDC,oldIconDC); ::SelectObject(maskDC,oldMaskDC); HICON newFileIcon = CreateIconIndirect(&newIcon); ::ReleaseDC(NULL,screenDC); DeleteDC(maskDC); DeleteDC(iconDC); DeleteObject(newIcon.hbmColor); DeleteObject(newIcon.hbmMask); DeleteObject(oldIconDC); DeleteObject(oldMaskDC); return newFileIcon; }// end CombineIcons

    C / C++ / MFC question

  • iCON OVERLAY
    M mjvalan

    I want to use Icon overlay for my files. What i ve to do with the folowing method of IShellIconOverlayIdentifier Methods are GetOverlayInfo GetPriority IsMemberOf

    C / C++ / MFC

  • iCON OVERLAY
    M mjvalan

    I want to use Icon overlay for my files. What i ve to do with the folowing method of IShellIconOverlayIdentifier Methods are GetOverlayInfo GetPriority IsMemberOf (let my file type is .myp)

    ATL / WTL / STL

  • Find files recursively in subdirectories
    M mjvalan

    Hello, I want to get all files in specified directory and also in subdirectories using Windows SDK. PPl who know plz send it. Valan

    C / C++ / MFC

  • Related to reparse points
    M mjvalan

    Hello ppl, I want to use NTFS reparse points for my application using VC++. I want to move infrequently used files to remote storage and ve to create a link for that file in local volume. I got only documents regarding this not any implementation details or APIs. So plz if anybody know anything related to reparse points plz send me. Valan

    System Admin c++
  • Login

  • Don't have an account? Register

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