CurrentGroup Property

The name of the current group.

Syntax

ANSI (Cross Platform)
char* GetCurrentGroup();
int SetCurrentGroup(const char* lpszCurrentGroup); Unicode (Windows) LPWSTR GetCurrentGroup();
INT SetCurrentGroup(LPCWSTR lpszCurrentGroup);
@property (nonatomic,readwrite,assign,getter=currentGroup,setter=setCurrentGroup:) NSString* currentGroup;
- (NSString*)currentGroup;
- (void)setCurrentGroup:(NSString*)newCurrentGroup;
#define PID_NNTP_CURRENTGROUP 25

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_NNTP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_NNTP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

This property contains the name of the current group. When this property is set to a valid group name, the class sends an NNTP GROUP command to the NewsServer and enters the specified group. If the command is successful, FirstArticle, LastArticle, and ArticleCount are set to the reported values for the group. This property is then used for all references to articles (until changed to another group).

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]