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
A

AbhiHcl

@AbhiHcl
About
Posts
77
Topics
36
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Menu Control
    A AbhiHcl

    You are right, but my query is how I will get the parent menu (FILE, View,Help) using get menu. I am able to get the child menu and modifying it using ModifyMenu(); Here is my code:- CMenu *pMenu = GetMenu(); pMenu->ModifyMenuW(ID_FILE_PRINT_REPORT,0,ID_FILE_PRINT_REPORT,"Open File"); Here "Open File" is inside file menu. Now I want to change the name of "File" to "File report", for that I need to know the ID of file which is parent menu.

    C / C++ / MFC help tutorial

  • Menu Control
    A AbhiHcl

    How to get the Top-level menu ID and change it on the run time. I am able laod trhe name of child menu item using Menu ID. But I don't knoe how to load the name of top lavel menu (like File, View, Help) at run time. Please any one can help me. Thanks...

    C / C++ / MFC help tutorial

  • Z order
    A AbhiHcl

    Hi, I created a control(C1) at run time and one more control(C2) at run time on a dialog. I want C2 on the Top of C1. I used SetWindiwPos but no use.. How can I do it?

    C / C++ / MFC question

  • Time format
    A AbhiHcl

    How to get the system Clock Style, I mean weather it 12 hr clock style or 24 hr clock style. Thanks.

    C / C++ / MFC tutorial

  • Populate Menu from file
    A AbhiHcl

    I have a xml file which hold the structre of Menu items . I want to create the Menu at runtime by reading the XML file . Can any body help to know how to do this. Thaks.

    C / C++ / MFC xml help tutorial

  • CListcontrol
    A AbhiHcl

    In List control, while using the Scroll bar, how we can know how much rows has went upside if scroling. Thanks

    C / C++ / MFC

  • CListCtrl
    A AbhiHcl

    this->CreateEx(WS_EX_TOPMOST,WS_CHILD | WS_VISIBLE |LVS_REPORT |LVS_NOCOLUMNHEADER|LBS_HASSTRINGS|LVS_EX_TRACKSELECT|WS_TABSTOP ,rect, pWnd,nID); this->SetWindowPos(&wndTop,0,0,0,0,SWP_NOSIZE|SWP_NOMOVE); // here I m setting this control on the top.

    C / C++ / MFC tutorial

  • CListCtrl
    A AbhiHcl

    Hi, Is there any one to solve this issue?

    C / C++ / MFC tutorial

  • CListCtrl
    A AbhiHcl

    This is not I am expecting

    C / C++ / MFC tutorial

  • CListCtrl
    A AbhiHcl

    I created ListCtrl on Btn Click as child of dialog. But controls that are already exist on the dialog they are getting diaply over the List control? How to resolve this issue?

    C / C++ / MFC tutorial

  • CListCtrl
    A AbhiHcl

    HI , I am creating CListCtrl at run time and paining its row using CustomeDraw. But If any control is behind the list control, I am able to see and press. How to draw the list control over another control.

    C / C++ / MFC tutorial

  • processor time
    A AbhiHcl

    Which one takes more processing time a. contineous if condition or switch case in while loop . e.g. while(conditon) { switch(conditon) { case contion : } codition++ } or if(condition) { } if(condition) {} if(codition) {}.... and so ono... Thanks

    C / C++ / MFC

  • Reading chunks of Data
    A AbhiHcl

    thanks for reply, My acutal dat is like char *str = "1,2,3\r\n1,3,4\r\n3,4,5\r\n1,3,5\r\n2,3,1\r\nCMD OK\r\n" but first time I m getting only char* temp = "1,2,3\r\n1,3,4\r\n3,4," I need to read upto last \r\n and keep the remaining (3,4) in some temporery variable, and the next time wen I'll get the another set of data then I need to append the tepory data with the new one, I hv to do the same task until I m not getting the "CMD OK\r\n". I need to do like that becz every comma seperated value has to be store in seperate array. Can u please send me some sample code for that.. Thanks..

    C / C++ / MFC help

  • Reading chunks of Data
    A AbhiHcl

    Hi , I hv a char buffer(say 1024 bytes) with lots of data, I want to read data from that buffer, but at one time I can read only some of character(say 255 bytes). I need to read all the data from the buffer and place excatly after the last cahrcter I read (say after the first 255 bytes I need to put second part of the buffer and so on.. until the full buffer I read). Please help me in this regards.. If possible please provide me some sample code. Thanks..

    C / C++ / MFC help

  • Fill array
    A AbhiHcl

    its nothing like that I hv not tried, but some where I stucked , Here by I m putting my code what I hv done till nw. char* szStr = "2,aaa\r\n3,bbb\r\n4,ccc\r\n5,ddd\r\n6,eee\r\n" ; int len = strlen(szStr); char* tempstrlen = new char[len + 1 ]; char* tempstrst = new char[len + 1 ] ; char* tempstr1 = NULL ; char* tempstr2 = NULL ; int nlang[12] ; char* szTag[5] ; memset(tempstrlen,0x00,sizeof(char) * (len + 1)) ; memcpy(tempstrlen,szStr,sizeof(char) * len); memset(tempstrst,0x00,sizeof(char) * (len + 1)); memcpy(tempstrst,szStr,sizeof(char) * len) ; tempstr1 = tempstrlen ; tempstr1 = strtok(tempstrst,"\r\n"); // nlang[0] = atoi(tempstr1) ; szTag[0]= tempstr1 ; int nCount = 0 ; int nCountChar = 0 ; while((tempstrst != NULL) && (nCount != 4)) { tempstr1 = strtok(NULL,"\r\n"); szTag[nCount + 1]= tempstr1 ; nCount++ ; } int i = 0; char* txt = NULL ; for(i = 0 ;i < 5 ; i++ ); { txt = strtok(szTag[i],","); nlang[0] = atoi(txt) ; while(szTag!=NULL && i>=0) { txt = strtok(szTag[i],","); nlang[i] = atoi(txt); i++ ; } i++ ; } please go through that and tell me where I m going wrong.

    C / C++ / MFC data-structures json help tutorial

  • Fill array
    A AbhiHcl

    can u please send me some sample code .

    C / C++ / MFC data-structures json help tutorial

  • Fill array
    A AbhiHcl

    Thanx for ur reply, Can u please gv me some ssample code as I m new in c++.

    C / C++ / MFC data-structures json help tutorial

  • Fill array
    A AbhiHcl

    Hi I have two char array which I need to fill by parsing the string. char * str = "1,aaa\r\n2,bbb\r\n3,ccc\r\n4,ddd\r\n" now the the first value(1,2,3,4 in this case ) has to fill in first array and second value(aaa,bbb,ccc,ddd in this case) has to fill in second array. Can anybody please help me how to do this. please provide me a sample code if possible. Thanks

    C / C++ / MFC data-structures json help tutorial

  • Read String
    A AbhiHcl

    Hi I want to find the number of comma(,) in particular string. Like char* str = "a,b,c,d,e". So how many commas are there in str ? Thanks

    C / C++ / MFC question

  • Reading char* buffer
    A AbhiHcl

    Can u please provide some sample code, I m very new in c++. Thanks

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