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
K

krishnakumartm

@krishnakumartm
About
Posts
27
Topics
16
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to restrict drag and drop from explorer to my application?
    K krishnakumartm

    I have a dialog with two list controls, where i have drag and drop from one list control to other, i am using COleDropTarget object to do this. But i have to restrict user to drag and drop from explorer. Note: If i run application with "run as administrator", list control is restricted the drop, but run as invoker list control is accepting files and folders. How can we avoid drag and drop from explorer with out running as administrator? Thanks.

    ---------------------------- KRISHNA KUMAR T M

    C / C++ / MFC tutorial question

  • LVM_FINDITEM
    K krishnakumartm

    Thank U for valuble question. The suggestion for allocating string other process worked well, but i need to set the postion for that i have to use LVM_SETITEMPOSITION, how can i create the POINT value in the other process. Thanks in advance.

    ---------------------------- KRISHNA KUMAR T M

    C / C++ / MFC c++ delphi database com

  • Reading Unicode Values from INI file
    K krishnakumartm

    Yes the Ini file is the mixture of ANSI and UNICODE. The file format is also in the UTF-8. How the MultiByteWideChar will help, is this is th way? 1.Use GetPrivatePrfileString. 2.Convert the buffer using WideCharToMultiByte.

    ---------------------------- KRISHNA KUMAR T M

    C / C++ / MFC question

  • Reading Unicode Values from INI file
    K krishnakumartm

    I tried withe GetPrivateProfileStringW, which is not reading properly.

    ---------------------------- KRISHNA KUMAR T M

    C / C++ / MFC question

  • Reading Unicode Values from INI file
    K krishnakumartm

    Hi, I hanve a ini file with the UNICODE entries like chinese characters, i need to read the values and write it back to ini file. How can i read and write the unicode strings from and to INi file. Thanks in advance

    ---------------------------- KRISHNA KUMAR T M

    C / C++ / MFC question

  • Create Process in background
    K krishnakumartm

    Ya i got it. Thanks for your response. Thanks,

    ---------------------------- KRISHNA KUMAR T M

    C / C++ / MFC c++ help

  • Create Process in background
    K krishnakumartm

    Hey i got it we can hide the cosole application also. we have to fill the STARTINFO structure correctly like STARTUPINFO si; ZeroMemory(&si, sizeof(si)); si.cb = sizeof(si); //set the flags to tell application to use the startup info si.dwFlags = STARTF_USESHOWWINDOW; //set the window hide options. si.wShowWindow = SW_HIDE; Refere the link Running console applications silently

    ---------------------------- KRISHNA KUMAR T M

    C / C++ / MFC c++ help

  • Create Process in background
    K krishnakumartm

    Why it is like that, is there any other way to hide the console.

    ---------------------------- KRISHNA KUMAR T M

    C / C++ / MFC c++ help

  • Create Process in background
    K krishnakumartm

    Hi, I need to run a process without showing to user, in background, The application is not a MFC it is normal command window application. I tried the way like settinf the STARTUPINFO like SW_HIDE. But this is not working. Can someone help me. Thanks,

    ---------------------------- KRISHNA KUMAR T M

    C / C++ / MFC c++ help

  • Refresh Desktop programatically
    K krishnakumartm

    Hi, I need to refresh the desktop after hiding the elements on desktop. I am hiding the desktop content but failed to refesh desktop. if i do right click refresh or simple F5 refresh is happening but how to do this programatically. Thanks,

    ---------------------------- KRISHNA KUMAR T M

    C / C++ / MFC tutorial

  • CStdio writestring failed while writing chinese text into a file
    K krishnakumartm

    Hi, i want to write chinese text into a text file i am using CString WriteString methos to do this writing But it is failed to write into text file help me if any ideas about writing chinese text into a file thanks in advance

    ---------------------------- KRISHNA KUMAR T M

    C / C++ / MFC help

  • How to search elements in vector
    K krishnakumartm

    Hi, Thanks for your replay, i tried what you explained in ur replay but when i pass integer to find_pid(4) but it is giving error like cannot convert from int to mystruct& ---------------------------- KRISHNA KUMAR T M

    ATL / WTL / STL graphics tutorial question

  • How to search elements in vector
    K krishnakumartm

    Hi, I have a structure, i am keeping the structure in vector to store multiple elements, my structure looks like struct mystruct { id = 1; pid= 2; } i used vector to store like vector vectStruct; like this i have 100 elements, i need to find the elements whose pid = 2 How can i search structures in vector, how to iterate through result. Thanks in advance

    ---------------------------- KRISHNA KUMAR T M

    ATL / WTL / STL graphics tutorial question

  • Instead of using nested if-else
    K krishnakumartm

    Hi i have requirement like doing 10 steps to complete task After completion of one only i can enter into another I used nested if- else to do that like if (true) { if (true) { if (true) { return true; } else { } } else { } } else { } is there any better way to handle these type of situation Thanks in Advance

    ---------------------------- KRISHNA KUMAR T M

    C / C++ / MFC

  • Using "extern"
    K krishnakumartm

    Hi thanks for reply already iam using AfxGetApp() i don't know wether can i able to declare like that or not

    ---------------------------- KRISHNA KUMAR T M

    C / C++ / MFC help

  • Using "extern"
    K krishnakumartm

    Hi in my application i am using extern to make application's theApp to access by other is there any problem if use extern Thanks in advance

    ---------------------------- KRISHNA KUMAR T M

    C / C++ / MFC help

  • Best way to define strings, using #define or using string table
    K krishnakumartm

    Hi, I am working VC++ on VC6.0 IDE I am using lot of CString constants in my program I am using #define to replace strings instead of USING string table and loading stings; like: #define ID_NAME _T("Krishna") #define ID_PROFILE_PATH _T("\\Folder11\\Krish") like above i have 10 t0 12 strings. To work with this which way is the best way using #defines or using string table? If any methos is best, why? Thanks in advance

    ---------------------------- KRISHNA KUMAR T M

    C / C++ / MFC c++ visual-studio question

  • How to Initializing CString in constructor
    K krishnakumartm

    Hi I have a CString variable in my class like bellow i want to initialize it to nothing which way is best Here i listed two ways. If any way is best why? class MyClass { CString name; MyClass() { name = _T(""); //way 1 name.Empty(); //way 2 } } Thanks in advance

    ---------------------------- KRISHNA KUMAR T M

    C / C++ / MFC tutorial question

  • Aplication header is not including while adding class with wizard
    K krishnakumartm

    Hi I am using Visual Studio 2008 with VC++ settings While i try to add a C++ class the application header include in not comming is it problem or we need to set any properties. I any one know please help me Thanks in advance

    ---------------------------- KRISHNA KUMAR T M

    C / C++ / MFC help csharp c++ visual-studio

  • UNICODE support suggetions required
    K krishnakumartm

    Hi i using an application in that i am using char** Usually in UNICODE settings we can represent char* as LPCTSTR my question is How to represent char** in UNICODE please help me Thanks in advance

    ---------------------------- KRISHNA KUMAR T M

    C / C++ / MFC help tutorial question
  • Login

  • Don't have an account? Register

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