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

mProject

@mProject
About
Posts
8
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Syntax Color Problem.
    M mProject

    I have syntax color problem. Can i use two different color for user define data types. -------------------------------------------------- Say Whatever You Know. Helping other people is good for health. ========= Manish ========= ---------------------------------------------------

    C / C++ / MFC help

  • Exit When Enter Key is Pressed
    M mProject

    There is one another solution. You can override OnOK function. Simply add function: void CYourDialog::OnOK() { } And your problem disappearing...:-O :-O :rose: :rose: -------------------------------------------------- Say Whatever You Know. Helping other people is good for health. ========= Manish ========= ---------------------------------------------------

    C / C++ / MFC c++ question learning

  • Dividing VC++ forum
    M mProject

    Ya certainly nice one. I am also thinking about that... Please do something.... :confused: :confused: :confused: :confused: :rose: -------------------------------------------------- Say Whatever You Know. Helping other people is good for health. ========= Manish ========= ---------------------------------------------------

    Site Bugs / Suggestions c++ question

  • What's wrong with my code?
    M mProject

    After seeing code, I think you are not destroying dialog (delete dlg). This should be your problem. CTestDialog* dlg; dlg=new CTestDialog; dlg->DoModal(); ////add line... delete dlg; :-O :-O :-O :rose: :rose: :rose: -------------------------------------------------- Say Whatever You Know. Helping other people is good for health. ========= Manish ========= ---------------------------------------------------

    C / C++ / MFC database graphics question

  • MSComm Help
    M mProject

    There are two methods for reading... ---------------------- POLLING ======= ---------------------- Assuming the Mscomm control is on the form and has the name MyCom and that there is a form property named mybuffer, the following code illustrates how to poll for waiting characters ( this is in VB but same procedure you can use in VC) : Procedure myform.myproc IF Thisform.MyCom.InBufferCount > 0 Thisform.mybuffer = Thisform.mybuffer + Thisform.MyCom.Input ENDIF ENDPROC ---------------------- EVENT DRIVEN ( YOU SHOULD USE THIS BECAUSE THIS IS BETTER ) ===== ---------------------- For example, you can place the following code in the OnComm event to append received data to a property of a form called mybuffer: Procedure MyCom.OnComm IF This.CommEvent = 2 ThisForm.mybuffer = ThisForm.mybuffer + This.Input ENDIF ENDPROC ---------------------- Do this way and tell me if problem persist. Or You can read articles in msdn...(By searching in MSDN) one of good articles is : ****** INFO: Troubleshooting Tips for the MSComm Control ****** :-D :-D :-D :-D :-O :-O :-O :-O :-O :-O :-O :-O :) :-D :rose: :rose: :rose: :rose: -------------------------------------------------- Say Whatever You Know. Helping other people is good for health. ========= Manish ========= ---------------------------------------------------

    C / C++ / MFC help c++

  • keyboard hooking
    M mProject

    Hi, I had problem of CTRL+ALT+DEL last few days. I searched discussion board for that but didnot found proper solution. I only found that use Gina Dll inplace of microsoft's MSGina.dll. That is not proper solution. Now i solved my purpose to disable CTRL+ALT+DEL in win2000. I don't know about WinNT but it will work for it also. So i want to contribute this part to all user. Steps are as follows : 1. Open Microsoft SDK Examples. In That Example, Open GinaStub example. 2. Find function int WINAPI WlxLoggedOnSAS( PVOID pWlxContext, DWORD dwSasType, PVOID pReserved ) 3. In this function remove all code written and only return like this return WLX_SAS_ACTION_NONE; 4. So it looks like this... int WINAPI WlxLoggedOnSAS( PVOID pWlxContext, DWORD dwSasType, PVOID pReserved ) { return WLX_SAS_ACTION_NONE; // Return code for doing nothing ... return to desktop } 5. Now Make dll. 6. Goto Registry by regedit. 7. goto \HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon (WindowsNT is also there. So dont confused it is | Windows(Space)NT | okay) 8. Make New string value and give data like this name : GinaDLL Type : REG_SZ Data : C:\WinNT\System32\mygina.dll (path of your gina dll(suppose mygina.dll)) 9. Reboot computer And your control+alter+delete not worked at all. ---------------------------------------------------------------------------------------- If You want this mygina.dll then contact me on my personal email address. manish_ld@rediffmail.com m_codeproject@rediffmail.com if still not contact me then and then try : pansiniya_manish@hotmail.com ---------------------------------------------------------------------------------------- Thanx in advance. :cool: :cool: :cool: :cool: :cool: :-O :rose: :rose: :rose: -------------------------------------------------- Say Whatever You Know. Helping other people is good for health. ========= Manish ========= ---------------------------------------------------

    C / C++ / MFC security question

  • Before The System
    M mProject

    Hi, I had problem of CTRL+ALT+DEL last few days. I searched discussion board for that but didnot found proper solution. I only found that use Gina Dll inplace of microsoft's MSGina.dll. That is not proper solution. Now i solved my purpose to disable CTRL+ALT+DEL in win2000. I don't know about WinNT but it will work for it also. So i want to contribute this part to all user. Steps are as follows : 1. Open Microsoft SDK Examples. In That Example, Open GinaStub example. 2. Find function int WINAPI WlxLoggedOnSAS( PVOID pWlxContext, DWORD dwSasType, PVOID pReserved ) 3. In this function remove all code written and only return like this return WLX_SAS_ACTION_NONE; 4. So it looks like this... int WINAPI WlxLoggedOnSAS( PVOID pWlxContext, DWORD dwSasType, PVOID pReserved ) { return WLX_SAS_ACTION_NONE; // Return code for doing nothing ... return to desktop } 5. Now Make dll. 6. Goto Registry by regedit. 7. goto \HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon (WindowsNT is also there. So dont confused it is | Windows(Space)NT | okay) 8. Make New string value and give data like this name : GinaDLL Type : REG_SZ Data : C:\WinNT\System32\mygina.dll (path of your gina dll(suppose mygina.dll)) 9. Reboot computer And your control+alter+delete not worked at all. ---------------------------------------------------------------------------------------- If You want this mygina.dll then contact me on my personal email address. manish_ld@rediffmail.com m_codeproject@rediffmail.com if still not contact me then and then try : pansiniya_manish@hotmail.com ---------------------------------------------------------------------------------------- Thanx in advance. :rolleyes: :laugh: :mad: :-O :rose: :rose: :rose: -------------------------------------------------- Say Whatever You Know. Helping other people is good for health. ========= Manish ========= ---------------------------------------------------

    C / C++ / MFC question sysadmin

  • Don't Want To Run Any Application...
    M mProject

    Dear I want to write application which work in 98/2000. so your article is for 98 and it works fine in 98 but what about 2000.:(( :(( -------------------------------------------------- Say Whatever You Know. Helping other people is good for health. ========= Manish ========= ---------------------------------------------------

    C / C++ / MFC 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