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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
C

chadell

@chadell
About
Posts
20
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Graphics in Visual C++
    C chadell

    My program makes a file with some data, how can I export this data into a graphic, like an excel graphic. I'm not using MFC, but winapi 32. sorry my english Christian

    C / C++ / MFC c++ graphics question

  • Listbox select
    C chadell

    I have a dialog with a listbox control and a edit box, so when the user selects a listbox string the edit box has to be update. my question is, how can I know (which message) that the user has selected a string? I'm using visual c++ 6.0 without MFC, only winapi32. thanks Christian

    C / C++ / MFC c++ question announcement

  • Popup menus
    C chadell

    I have followed your words with my simple C version: Menu=LoadMenu(hInstance,MAKEINTRESOURCE(IDR_MENU_DESPLEGABLE)); TrackPopupMenuEx(hMenu,TPM_LEFTBUTTON|TPM_LEFTALIGN|TPM_TOPALIGN,LOWORD(lParam),HIWORD(lParam),hWindow,NULL); but I still have a small problem: -The popup menu isn't showed complet, only is showed the border but it works fine when calls the WM_COMMAND. Why the popup menu isn't showed normal?? thanks Christian

    C / C++ / MFC question

  • Popup menus
    C chadell

    I want to show a popup menu when the right botton is pushed. I write: hMenu=LoadMenu(hInstance,MAKEINTRESOURCE(IDR_MENU_DESPLEGABLE)); SetMenu(hWindow,hMenu); where IDR_MENU_DESPLEGABLE is the menu I want to show. but this code puts my menu in the place of my window's menu. I would that this menu will be showed where the user pushes the right button, like the most Windows applications. What code can I use? sorry my english. thanks Christian

    C / C++ / MFC question

  • Painting Bitmap with VC 6.0
    C chadell

    How can I paint a Bitmap in the background of my window, using VC 6.0 thanks Christian

    C / C++ / MFC graphics question

  • Erase external files
    C chadell

    thanks Christian

    C / C++ / MFC c++ question

  • Erase external files
    C chadell

    How can I delete files from my Visual C++ program? Christian

    C / C++ / MFC c++ question

  • Append files
    C chadell

    Sorry but It doesn't work. thanks Christian

    C / C++ / MFC ios help tutorial

  • Append files
    C chadell

    I am using files with . My objective is be appending data to a file in its first line, for example: 11111 -> 22222 -> 33333 -> 44444 11111 22222 33333 11111 22222 11111 My code, executed each five minutes: arxiu.open(FileName,ios::app); arxiu.seekp(ios::beg); arxiu< 11111 22222 I'll thank any help.

    C / C++ / MFC ios help tutorial

  • Function to pass from text to float
    C chadell

    I know that it can be a silly question but I would use a function to pass from text string "1234" to float 1234. thanks in advance

    C / C++ / MFC question

  • doubts with ShellExecuteEx
    C chadell

    sorry my english, david. my problem is that the console application (executed by ShellExecuteEx) ends its execution and then closes its window, but the application needs to keep the window open until I close this(I thought to do this by the TerminateProcess with the hProcess returned by ShellExecuteEx). For more details, the application I want to run is MRTG. thanks

    C / C++ / MFC question

  • doubts with ShellExecuteEx
    C chadell

    I execute an application in a console with ShellExecuteEx, but when this application ends I would the console's windows doesn't close because this function works like a daemon. So, how can I keep the window open? thanks

    C / C++ / MFC question

  • Results of a ping
    C chadell

    the application sends this error when compiling, I am not using MFC, I use the Win Api 32 with #include , but the ping classe is designed for MFC, somebody has another solution for monitor a ping to a device? c:\archivos de programa\microsoft visual studio\vc98\mfc\include\afxv_w32.h(14) : fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include thanks

    C / C++ / MFC question

  • Waiting a process
    C chadell

    I execute a console process with the ShellExecuteEx, this process creates a file but it spends 4 o 5 seconds, my next code needs to access this file so I need to wait the end of the execution of my console process or wait 5 seconds until continue the program execution, how can i do that? thanks

    C / C++ / MFC question

  • Results of a ping
    C chadell

    I don't found the article by Chris Maunder, can you tell me the exact title?? thanks

    C / C++ / MFC question

  • Results of a ping
    C chadell

    My question, I execute a ping to a device with the ShellExecuteEx, How can I know if the ping has been successfully?? thanks in advance

    C / C++ / MFC question

  • Send Message Question
    C chadell

    thanks!! it's good.

    C / C++ / MFC question help announcement

  • Send Message Question
    C chadell

    I have created a function to update data to paint, and I have put this into the case WM_PAINT (on the WindowsProcedure function), and it works OK when there is a change with the size, etc... but I would activate this functions from my functions, so I thought to call the SendMessage function, but it doesn't work. SendMessage (hWindow,WM_PAINT,NULL,NULL). somebody can help me?

    C / C++ / MFC question help announcement

  • Time measure
    C chadell

    Hello, How can I call a function each five minutes? explanation: WinMain{ ... Each5Minutes(MyFunction(...)); } thanks in advance christian

    C / C++ / MFC question

  • Kill a process!!
    C chadell

    Hi, This is my problem: I am using VC++ 6.0, and my program has to execute a shell application, this task is accomplished with the "ShellExecute", but my problem starts here. For example, if the command is indefinite (ping 10.0.0.1 -t), How can I kill this process with a VC++ sentence????? without execute the manual CTRL+C sorry for my english, thanks in advance

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

  • Don't have an account? Register

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